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

Response type :created forces a media_type #23

Closed
dorba opened this issue Sep 3, 2014 · 1 comment
Closed

Response type :created forces a media_type #23

dorba opened this issue Sep 3, 2014 · 1 comment

Comments

@dorba
Copy link

dorba commented Sep 3, 2014

there shouldn't really be a media_type param for a created response....
201 means "no body"
so, Content-Type makes no sense in that case

@blanquer
Copy link
Contributor

blanquer commented Sep 3, 2014

Yes, we shouldn't have a media_type param. We should have a location param instead (perhaps optional, depending on how stickler you want to be from a RESTful perspective)

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