roxen.lists.roxen.general

Subject Author Date
Re: [PATCH 14/17] New module: gzip-on-the-fly Henrik_Grubbström <grubba[at]roxen[dot]com> 21-01-2009
On Wed, 21 Jan 2009, Stephen R. van den Berg wrote:

> Arjan van Staalduijnen wrote:
>> string transfer_encoding_callback( string u, RequestID id )
>> {
>>        return (string)has_index(id->request_headers,
>> "transfer-encoding");
>
>> string content_encoding_callback( string u, RequestID id )
>> {
>>        return (string)has_index(id->request_headers,
>> "content-encoding");
>
> If I understood Henrik correctly, these two callbacks are bogus and
> do not add anything when registered?

Both of the above are fine, since they are examining the request headers 
and not the result headers.

> -- 
> Sincerely,
>           Stephen R. van den Berg.

--
Henrik Grubbström					<grubba[at]roxen.com>
Roxen Internet Software AB