On Wed, 10 Dec 2003, Stas Bekman wrote:
No, there is no C-L header. The complete filter looks like so:
sub handler { # Get the filter object my($f) = @_;
# Only done on the FIRST pass of the filter unless($f->ctx) { $f->r->headers_out->unset('Content-Length'); $f->ctx(''); }
return Apache::DECLINED;
} # handler
But doesn't unsetting the C-L header cause the C-L filter to automatically attempt to generate a new C-L value?
I thought that bug has been fixed long time ago. Dynamic handlers used to bump into the problem, where the output will be buffered up untill EOS and then sent out with C-L. This is no longer the case. We advise to always unset C-L header in filters that modify the length of the data (which is not the case with this filter, but he did it just in case).
A HEAD response for a broken URL would help. :-)
I hope Chris will take over at this point. I was just trying to report on his behalf.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
