Re: Subrequests should not inherit entity-header fields from the mainline request

2005-03-29 Thread Greg Ames
Bill Stoddard wrote: Joe Schaefer wrote: 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

Re: Subrequests should not inherit entity-header fields from the mainline request

2005-03-29 Thread Greg Ames
Paul Querna wrote: Bill Stoddard wrote: 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

Subrequests should not inherit entity-header fields from the mainline request

2005-03-16 Thread Bill Stoddard
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

Re: Subrequests should not inherit entity-header fields from the mainline request

2005-03-16 Thread Paul Querna
Bill Stoddard wrote: 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

Re: Subrequests should not inherit entity-header fields from the mainline request

2005-03-16 Thread Joe Schaefer
Paul Querna [EMAIL PROTECTED] writes: [...] Something that popped into my mind is, what about when you actually want to do a POST subrequest? This is exactly what I've been struggling with in apreq. I think the only sane thing apreq can do is to assume that subrequests will never have bodies