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

Handle http request without content-type #21

Merged
merged 1 commit into from
Jan 17, 2019

Conversation

ebuckley
Copy link
Contributor

A well formed http request should have a Content-type header, but when
the content-type is not defined, it will cause our security middleware
to throw a keyerror.

This change makes sure that an error is not thrown in this case. When
there is no content-type header, the token will not be refreshed

A well formed http request should have a `Content-type` header, but when
the content-type is not defined, it will cause our security middleware
to throw a keyerror.

This change makes sure that an error is not thrown in this case. When
there is no content-type header, the token will not be refreshed
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.

1 participant