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 =
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;
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
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
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