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

On an internal redirect (particularly for an ErrorDocument handler),

store the original method in the subprocess environment so that it
will be noted as REDIRECT_REQUEST_METHOD for any subprocess script.
This is to avoid serving a full response on a HEAD request that has
been redirected to a special handler.  [Roy thinks that this would be
better just redirecting as a HEAD request, but this fix is probably needed
for other methods anyway.]

Submitted by: Rob Hartill
Reviewed by: Brian Behlendorf, Chuck Murcko, Roy Fielding


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@77114 13f79535-47bb-0310-9956-ffa450edef68
parent d6daacc9
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