Closed peterlada closed 5 years ago
Heh, I was about to PR the same thing. @mattupstate this is a straightforward merge IMO.
Any chance we could merge this one? 😄
Looks like a simple merge, why is this one still not merged? Is there more to be done here? I could contribute if required.
Seems like most people use PyJWT nowadays, closing this abandoned PR.
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.