-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
allowed_methods fail due to traling whitespace #13
Labels
Comments
It seems that the method variable needs a strip() before looking for it in the allowed_methods list. |
good catch! thanks. |
fafhrd91
added a commit
that referenced
this issue
Feb 18, 2014
should be fixed |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When using allowed_methods parameter in ServerHttpProtocol, the server always returns a Method Not Allowed response.
The "method" variable in HttpPrefixParser contains trailing whitespace and doesn't match strings in allowed_methods list.
The text was updated successfully, but these errors were encountered: