You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Roy T. Fielding" <fi...@kiwi.ICS.UCI.EDU> on 1997/05/23 22:34:05 UTC

Re: Redirection problem under 1.2b11-dev

>Should any of the following also be used even on error responses?
>
>"Content-MD5", "Set-Cookie" (??), "Transfer-Encoding",
>
>    and stuff set in....
>
>mod_cern_meta, mod_status, mod_headers

No.  If they were, they'd be in err_headers_out.  That should probably
be an option in mod_headers, but that can wait.  The patch needs a small
change due to internal redirect stupidity:

>+	if (location && *location && is_HTTP_REDIRECT(status))
>+	    table_set(r->headers_out, "Location", location);
>  	r->err_headers_out = NULL;
>  	r->content_language = NULL;

....Roy