httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <jwool...@virginia.edu>
Subject Re: filtering huge request bodies (like 650MB files)
Date Thu, 11 Dec 2003 01:15:32 GMT
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?

A HEAD response for a broken URL would help.  :-)

Mime
View raw message