httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <trawi...@bellsouth.net>
Subject Re: cvs commit: apache-2.0/src/main http_core.c
Date Thu, 02 Nov 2000 22:42:51 GMT
Sascha Schumann <sascha@schumann.cx> writes:

> On 2 Nov 2000, Jeff Trawick wrote:
> 
> > Greg Stein <gstein@lyra.org> writes:
> >
> > > On Thu, Nov 02, 2000 at 09:31:40PM -0000, sascha@locus.apache.org wrote:
> > > >...
> > > >   --- http_core.c	2000/11/02 20:48:48	1.194
> > > >   +++ http_core.c	2000/11/02 21:31:37	1.195
> > > >   @@ -2951,8 +2951,16 @@
> > > >        int bld_content_md5 =
> > > >            (d->content_md5 & 1) && r->output_filters->frec->ftype
!= AP_FTYPE_CONTENT;
> > > >
> > > >   -    ap_allow_methods(r, MERGE_ALLOW, "GET", "OPTIONS", NULL);
> > > >   +    ap_allow_methods(r, MERGE_ALLOW, "GET", "OPTIONS", "POST", NULL);
> > >
> > > Did I miss some conversation on the list about this? Why do we suddenly
> > > allow POST methods now?
> >
> > There was a conversation last week about the desire to filter request
> > bodies when there was not a handler to consume it (i.e., call
> > ap_get_client_block()).  I never understood the logic behind it
> > (for good reason I think)...
> 
>     The logic that there can only be one consumer is flawed. I
>     gave you a counterexample which I did not see any reply to
>     yet.

I didn't understand your counterexample.  I think this is what you are
referring to as the counterexample:

    "In the context of scripting languages, and in the case of
    chaining i.e. Python and Perl, both engines will be
    interested in the POST data, as it will contain information
    which apply to both of them."

To me this simply restates "more than one module will consume the post
data."  It doesn't give an example of why more than one module might
need to consume the post data.

What does "chaining" mean in this context?

Thanks a bunch,

Jeff
-- 
Jeff Trawick | trawick@ibm.net | PGP public key at web site:
     http://www.geocities.com/SiliconValley/Park/9289/
          Born in Roswell... married an alien...

Mime
View raw message