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

feat(api): default responder for OPTIONS method #162

Merged
merged 1 commit into from
Aug 14, 2013

Conversation

lichray
Copy link
Contributor

@lichray lichray commented Aug 9, 2013

#68


def method_not_allowed(req, resp, **kwargs):
resp.status = HTTP_405
resp.set_header('Allow', ', '.join(allowed_methods))
resp.set_header('Allow', allowed)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch

kgriffs pushed a commit that referenced this pull request Aug 14, 2013
feat(api): default responder for OPTIONS method

Closes issue #68
@kgriffs kgriffs merged commit 47ce800 into falconry:master Aug 14, 2013
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.

None yet

2 participants