Arjan van Staalduijnen wrote:
>Van: Henrik Grubbstr?m [mailto:[email protected]] 
>> 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.

Reply via email to