httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: Input filter cannot change size of multipart/form-data
Date Tue, 06 Feb 2007 17:54:36 GMT
On Tue, 6 Feb 2007 12:38:26 -0500
"Kratzer, James \(Xetron\)" <James.Kratzer@ngc.com> wrote:

> Please help.
> 
> I have an input filter that looks for the Content-Type
> "multipart/form-data" and saves the whole POST request to disk for
> processing by scripts invoked by the filter.  The processed
> multipart/form-data is then read back in and sent up the chain.   

Is mod_upload not any use to you?

> Everything works as long as I don't change the size of the
> multipart/form-data.  It appears that if I change the size of the
> multipart/form-data post(such as replacing an attachment with either a
> smaller or larger attachment than the original), then the post dies
> even though I'm updating the Content-Length in headers_in.  Why can't
> I change the size of the multipart/form-data post.

*When* are you changing the header in headers_in?

I expect you might want to look at the note on order
of processing in my article at
http://www.apachetutor.org/dev/request

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

Mime
View raw message