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

Specify accepted Http Methods in cocaine.WrapHandlerFunc #23

Open
lamerman opened this issue Oct 2, 2014 · 2 comments
Open

Specify accepted Http Methods in cocaine.WrapHandlerFunc #23

lamerman opened this issue Oct 2, 2014 · 2 comments
Assignees
Milestone

Comments

@lamerman
Copy link
Member

lamerman commented Oct 2, 2014

It seems like being able to specify http methods that are accepted by the handle is a useful feature. You can say it's supposed to handle GET requests only and whenever any other type of request appears it will return a correct HTTP response that says "Only GET method is supported".

@m0sth8
Copy link
Contributor

m0sth8 commented Oct 3, 2014

We can do this with the wrappers.

@noxiouz
Copy link
Member

noxiouz commented Oct 3, 2014

I'm going to rewrite framework v0.12 in next couple of weaks. Please, request as many features as possible.

@noxiouz noxiouz added this to the v0.12 milestone Mar 17, 2015
@noxiouz noxiouz self-assigned this Mar 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants