httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/server core.c
Date Wed, 02 Oct 2002 21:32:01 GMT
wrowe       2002/10/02 14:32:01

  Modified:    server   core.c
  Log:
    Until we have a mechanism to allow PHP and others to 'raise their hand'
    and claim 'POST' we have to continue to accept POST in the default
    handler.  Revert to rev 1.206 per Rbb's and wrowe's veto.
  
  Revision  Changes    Path
  1.208     +0 -8      httpd-2.0/server/core.c
  
  Index: core.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/core.c,v
  retrieving revision 1.207
  retrieving revision 1.208
  diff -u -r1.207 -r1.208
  --- core.c	1 Oct 2002 16:24:41 -0000	1.207
  +++ core.c	2 Oct 2002 21:32:01 -0000	1.208
  @@ -3259,14 +3259,6 @@
               return HTTP_NOT_FOUND;
           }
   
  -        /* we understood the POST method, but it isn't legal for this
  -           particular resource. */
  -        if (r->method_number == M_POST) {
  -            ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
  -                          "This resource does not accept the POST method.");
  -            return HTTP_METHOD_NOT_ALLOWED;
  -        }
  -
           if ((status = apr_file_open(&fd, r->filename, APR_READ | APR_BINARY, 0,
                                       r->pool)) != APR_SUCCESS) {
               ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r,
  
  
  

Mime
View raw message