sub requests are all GETs

2001-09-05 Thread Eric Prud'hommeaux
Can anybody explain why ap_set_sub_req_protocol does rnew-method = GET; rnew-method_number = M_GET; instead of rnew-method = r-method; rnew-method_number = r-method_number; ? The consequence is that functions like negotiation sub_req =

Re: sub requests are all GETs

2001-09-05 Thread Greg Stein
Take a look at ap_sub_req_method_uri. That might do the trick for you. I don't think there is a similar one for files right now. Cheers, -g On Wed, Sep 05, 2001 at 08:17:15AM -0400, Eric Prud'hommeaux wrote: Can anybody explain why ap_set_sub_req_protocol does rnew-method = GET;

Re: sub requests are all GETs

2001-09-05 Thread Eric Prud'hommeaux
On Wed, Sep 05, 2001 at 05:46:15AM -0700, Greg Stein wrote: Take a look at ap_sub_req_method_uri. That might do the trick for you. I don't think there is a similar one for files right now. Thanks. I took a look at ap_sub_req_method_uri and am still whining: ap_sub_req_method_uri takes a

Re: sub requests are all GETs

2001-09-05 Thread Rasmus Lerdorf
Whoa, deja vu... I could have sworn I fixed something very similar to this more than 5 years ago now. In fact, here is the patch for Apache 1.2.x: Fri Mar 1 03:01:06 1996 UTC (66 months, 1 week ago) http://cvs.apache.org/viewcvs.cgi/apache-1.2/src/http_request.c.diff?r1=1.2r2=1.3 Not exactly

Re: sub requests are all GETs

2001-09-05 Thread Rodent of Unusual Size
Eric Prud'hommeaux wrote: Can anybody suggest a reason that sub request methods would _not_ default to the parent requests method? Well, consider the situation of the parent request using POST. When you constructed your subrequest you would need to also provide an entity-body or explicitly