binding
binding copied to clipboard
Ability to control the HTTP error codes
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.
Are you only seeing this when your request doesn't have a Content-Type
header?