httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sascha Schumann <sas...@schumann.cx>
Subject Re: cvs commit: apache-2.0/src/main http_core.c
Date Thu, 02 Nov 2000 22:09:29 GMT
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.

    - Sascha


Mime
View raw message