Commit 03858bf8 authored by Roy T. Fielding's avatar Roy T. Fielding
Browse files

Test for error conditions before creating output header fields, since

we don't want the error message to include those fields.  Likewise,
reset the content_language(s) and content_encoding of the response
before generating or redirecting to an error message, since the new
message will have its own Content-* definitions.

This is only a partial solution to the problem of error messages
inheriting header fields and request_rec variables from almost-succeeded
requests, but this part is needed for the general solution anyway.
A fix for the latter will be in a separate patch.

Submitted by: Dean Gaudet
Reviewed by: Roy Fielding, Ken Coar, Jim Jagielski


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@78125 13f79535-47bb-0310-9956-ffa450edef68
parent 6f314a09
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment