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

Return 405 when a method is unsupported #159

Closed
grahamlyons opened this issue Nov 9, 2016 · 1 comment
Closed

Return 405 when a method is unsupported #159

grahamlyons opened this issue Nov 9, 2016 · 1 comment

Comments

@grahamlyons
Copy link
Contributor

As per RFC 7231 rfc7231#section-6.5.5 we should send a 405 status code rather than 500 when an unsupported method is used to access a resource.

@jamesls
Copy link
Member

jamesls commented Nov 10, 2016

#160 has been merged.

@jamesls jamesls closed this as completed Nov 10, 2016
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

No branches or pull requests

2 participants