httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@apache.org>
Subject Re: cvs commit: apache-1.3/src/modules/standard mod_autoindex.c
Date Thu, 19 Dec 2002 00:12:54 GMT
The request headers_in are only modified for the duration of
looking up the potential subrequests.

So I'm confused why (for that brief time) it has been messing
up mod_deflate's filter?

Bill

At 04:51 PM 12/18/2002, André Malo wrote:
>* wrowe@apache.org wrote:
>
>>   +    /*
>>   +     * If there's a header file, send a subrequest to look for it.  If it's
>>   +     * found and html do the subrequest, otherwise handle it
>>   +     */
>>   +    r_accept = ap_table_get(hdrs, "Accept");
>>   +    r_accept_enc = ap_table_get(hdrs, "Accept-Encoding");
>>   +    ap_table_setn(hdrs, "Accept", "text/html, text/plain;q=.5, text/*;q=.1");
>>   +    ap_table_unset(hdrs, "Accept-Encoding");
>
>by the way. In 1.3 it's perhaps not interesting, but in 2.x this causes the 
>problem, that mod_deflate won't be invoked, if a HeaderName file will be 
>inserted. We delete the Accept-Encoding header, put the contents of the 
>header file onto the filter stack, mod_deflate doesn't recognize an 
>accepted encoding, it removes itself from the stack, we re-add the 
>Accept-Encoding, now it's too late.
>
>However, is there no possibility to modify the accept values only for the 
>subrequest?
>
>nd
>-- 
>> [...] weiß jemand zufällig, was der Tag DIV ausgeschrieben bedeutet?
>DIVerses. Benannt nach all dem unstrukturierten Zeug, was die Leute da
>so reinpacken und dann absolut positionieren ...
>                           -- Florian Hartig und Lars Kasper in dciwam


Mime
View raw message