Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix in case request_path is missing #1

Merged
merged 1 commit into from
Apr 5, 2017

Conversation

rpfahl
Copy link

@rpfahl rpfahl commented Apr 4, 2017

On my server, the header 'request_path' was missing, which in turn broke the middleware because the content type would not get changed to 'application/json'. So added in check for 'request_uri' as well, which fixes the middleware issue.

@ccallebs
Copy link
Owner

ccallebs commented Apr 5, 2017

@rpfahl Thanks for tackling this -- I hadn't experienced it but the change looks harmless enough.

@ccallebs ccallebs merged commit 7ffea9f into ccallebs:master Apr 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants