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

Add "Allow" header to HTTP 405 error. #294

Merged
merged 4 commits into from
Nov 19, 2014

Conversation

singulared
Copy link
Contributor

By RFC7231 405 status must generate Allow header with list of resource's supported methods.

By RFC7231 (http://tools.ietf.org/html/rfc7231#section-6.5.5)
405 status must generate Allow header with list of resource's supported
methods.
@skimbrel
Copy link
Contributor

skimbrel commented Nov 7, 2014

LGTM. Can you whip up a test case real quick?

@singulared
Copy link
Contributor Author

Tested.

@joshfriend
Copy link
Member

Very nice. thank you!

joshfriend added a commit that referenced this pull request Nov 19, 2014
Add "Allow" header to HTTP 405 error.
@joshfriend joshfriend merged commit b6a7bcf into flask-restful:master Nov 19, 2014
joshfriend pushed a commit that referenced this pull request Nov 21, 2014
joshfriend pushed a commit that referenced this pull request Nov 21, 2014
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.

3 participants