httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: POST subrequests via mod_proxy
Date Wed, 13 Jan 2010 09:55:51 GMT
On 13 Jan 2010, at 11:40 AM, Sorin Manolache wrote:

> Is there another way to make POST subrequests with subrequest-specific
> request bodies? (i.e. not with the request body of the main request)


The reason subrequests don't have access to the request body by  
default is that the main request has probably already consumed the  
request body already, leaving nothing left for the subrequest to read  
in.

Having said that, the KeptBodySize directive on trunk allows you to  
specify that request bodies up to the given size be read in and set  
aside in RAM, so the subrequests have access to the body.

http://httpd.apache.org/docs/trunk/mod/mod_request.html#keptbodysize

Regards,
Graham
--


Mime
View raw message