Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Default error page content-type to text/html #1535
This replaces PR #1534 (based on master) with a patch based on the development branch. It looks like this branch already covers the common case of a form submission, but it may not make sense to reflect the client's content type for any other non-xml/json responses.
The error handler only supports html, xml, and json responses; this PR ensures that the content-type will be correct in those three situations.