httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@engelschall.com (Ralf S. Engelschall)
Subject Re: [PATCH] (was Re: Redirection problem under 1.2b11-dev)
Date Sat, 24 May 1997 11:04:26 GMT

In article <Pine.SGI.3.95.970523164540.25358H-100000@fully.organic.com> you wrote:

> *** http_protocol.c.orig3	Fri May 23 12:36:03 1997
> --- http_protocol.c	Fri May 23 16:40:49 1997
> ***************
> *** 1698,1704 ****
> --- 1698,1708 ----
>   	 * that may have been set by the request handler before the
>   	 * error or redirect.
>   	 */
> +  
>   	r->headers_out = r->err_headers_out;
> +         if (location && *location
> +                      && (is_HTTP_REDIRECT(status) || status == HTTP_CREATED))
> +             table_set(r->headers_out, "Location", location);
>   	r->err_headers_out = NULL;
>   	r->content_language = NULL;
>   	r->content_languages = NULL;

Fine, I've tested it with the latest 1.2b11-dev and this patch fixes the
problem, so +1. Thanks.

Greetings,
                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com

Mime
View raw message