binding icon indicating copy to clipboard operation
binding copied to clipboard

Ability to control the HTTP error codes

Open peterbe opened this issue 9 years ago • 1 comments

Similar to https://github.com/mholt/binding/issues/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.

peterbe avatar Jan 29 '15 22:01 peterbe

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

bhcleek avatar Dec 07 '16 05:12 bhcleek