httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [PATCH] PR 18757 Content-Length removed from proxied HEAD responses
Date Fri, 21 Oct 2005 00:10:34 GMT
On Thursday 20 October 2005 23:48, Justin Erenkrantz wrote:
> --On October 20, 2005 2:37:39 PM -0400 Greg Ames <gregames@apache.org>
>
> wrote:
> > I think that's a good philosophy.  unfortunately, if I read the only
> > developer doc I can find on Apache filters
> > http://httpd.apache.org/docs/2.0/developer/filters.html I don't see any
> > rules about what to do when your filter changes the length of the body.
>
> We've only said it a hundred times on dev@httpd.  =)  An output filters is
> always supposed to clear the appropriate metadata whenever it alters the
> body.  -- justin

But in practice, that doesn't always happen.  That's one of the issues 
mod_filter sets out to solve, with the new ap_register_output_filter_protocol
and ap_filter_protocol API allowing a filter to declare what effect it has on 
HTTP headers rather than take on the full burden of fixing them itself.

-- 
Nick Kew

Mime
View raw message