Bringing this up. again. Adds a filter that allows mod_setenvif to act on response headers.
-------- Original Message -------- Subject: Re: [PATCH] setenvif filter Date: Wed, 31 May 2006 17:24:33 +0200 From: Francois Pesce <[EMAIL PROTECTED]> Reply-To: dev@httpd.apache.org To: dev@httpd.apache.orgReferences: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
These patches may fix the r->content_type behaviour. Are you OK with it ? -- *Francois Pesce* 2006/5/31, Brian Akins <[EMAIL PROTECTED]>:
Francois PESCE wrote: > I've discussed about a patch for mod_setenvif 2 years ago, and have > coded it at that time, it is successfully used on various host in > production since. You need to handle content type specially by checking r->content_type. For some reason, just doing apr_table_get(r->headers_out, "Content-type") would be null, but content_type would be set. See the patch I posted a few days ago. +1 in concept -- Brian Akins Lead Systems Engineer CNN Internet Technologies
-- Brian Akins Chief Operations Engineer Turner Digital Media Technologies
mod_setenvif-2-2-x-2.patch
Description: Binary data
mod_setenvif-2-0-x-2.patch
Description: Binary data