Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


HTTP errors don't allow headers to be overridden, PreconditionFailed doesn't have message keyword #179

w0rm opened this Issue · 0 comments

1 participant


Is there any reason that HTTP errors such as BadRequest set Content Type header to "text/html" and do not allow to override it, eg I need to return json.

Also, I've chosen PreconditionFailed to return invalid form, but it doesnt' have message keyword.

I think such custom error wrappers should be more flexible and allow message and headers overrides.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.