Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

do not server error on non-json auth attempt #70

Closed
wants to merge 1 commit into from

Conversation

peterlada
Copy link

Fix for issue #58

request.get_json() returns None if request content type is not application/json, it is not handled more gracefully than a 500 Server Error.

@dequis
Copy link

dequis commented Jun 23, 2016

Heh, I was about to PR the same thing. @mattupstate this is a straightforward merge IMO.

@alexmensch
Copy link

Any chance we could merge this one? 😄

@sreejeet
Copy link

Looks like a simple merge, why is this one still not merged? Is there more to be done here? I could contribute if required.

@peterlada
Copy link
Author

Seems like most people use PyJWT nowadays, closing this abandoned PR.

@peterlada peterlada closed this Dec 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants