Joe Schaefer wrote:
Greg Ames <[EMAIL PROTECTED]> writes:
[...]
As it turns out, we clone all of the main request's input headers when
we create the subrequest, including C-L. Whacking the subrequest's
C-L header fixes the hang. Since the main request's body could also
have be chunked, we should probably remove the subrequest's
Transfer-Encoding header as well.
Shouldn't you remove Content-Type also?
The problem is that the subrequest is inheriting entity-header fields from the mainline request (mainline request was a POST). This patch should be generalised to remove all inherited entity-header fields from the subrequest.
Something that popped into my mind is, what about when you actually want to do a POST subrequest?
I think it would be quite hard with how subrequests are currently constructed. I wish the all of the subrequest stuff could be refactored...
-Paul
