Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

Ability to control the HTTP error codes #32

Open
peterbe opened this issue Jan 29, 2015 · 1 comment
Open

Ability to control the HTTP error codes #32

peterbe opened this issue Jan 29, 2015 · 1 comment

Comments

@peterbe
Copy link

peterbe commented Jan 29, 2015

Similar to #31
I would like to return a different error code if someone does a HTTP POST without any form data. At the moment it defaults to 415 Unsupported Media Type which doesn't make sense to me.

@bhcleek
Copy link
Collaborator

bhcleek commented Dec 7, 2016

Are you only seeing this when your request doesn't have a Content-Type header?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants