On Sun, Jun 02, 2002 at 02:46:40PM -0700, Justin Erenkrantz wrote:
> Is it permissible for a subrequest (r->main != NULL) to read
> input data from the client?
> 
> My current thought is only the original request can do that.
> 
> Am I right or am I wrong?  -- justin

You might end up doing an "internal redirect" or somesuch to a subrequest to
have it process the thing. In which case, it is perfectly acceptable for
that guy to read the body.

The basic story is that if you "run" a subrequest, then it can (and probably
*should*) consume the body. If you mere prepare a subrequest (so that you
can look at the status of that prep), then it should absolute *not* read the
body.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Reply via email to