roxen.lists.roxen.general

Subject Author Date
Re: [PATCH 14/17] New module: gzip-on-the-fly Stephen R. van den Berg <srb[at]cuci[dot]nl> 21-01-2009
Arjan van Staalduijnen wrote:
>Van: Henrik Grubbstr?m [mailto:<grubba[at]roxen.com>] 
>> You register them at the point you perform the check. eg:

>>   id->register_vary_callback("foo-header", check_valid_foo_header);
>>   if (check_valid_foo_header(url, id)) {
>>     // Do something.
>>   } else {
>>     // Do something else.

>Sorry, yes, that is what I meant to say - at the point where the check is
performed, but at least before any dependent result is being returned.

Ok.  Makes sense for the incoming request header.
You alluded to outgoing content-encoding and transfer-encoding headers,
where do I check for them and does the vary callback work for them as well?
-- 
Sincerely,
           Stephen R. van den Berg.

Real programmers don't produce results, they return exit codes.