Created attachment 480930 Patch to show internal error pages for HTTP error in the 400/500 range
Based on Curtis' patch in bug 482874 I created a similar patch to show error pages for all types of HTTP errors.
I left in the possibility to configure the maximum amount of server-side message length to trigger the override, though the default is 0.
I removed all references to 404.
The texts could surely stand some improvement, I basically copied the first sentences from RFC 2616.
When the patch for bug 482874 is landed, this one could be updated to use the same code then.
Created attachment 480930
Patch to show internal error pages for HTTP error in the 400/500 range
Based on Curtis' patch in bug 482874 I created a similar patch to show error pages for all types of HTTP errors.
I left in the possibility to configure the maximum amount of server-side message length to trigger the override, though the default is 0.
I removed all references to 404.
The texts could surely stand some improvement, I basically copied the first sentences from RFC 2616.
When the patch for bug 482874 is landed, this one could be updated to use the same code then.