From: William A. Rowe Jr Date: Wed, 2 Oct 2002 21:32:01 +0000 (+0000) Subject: Until we have a mechanism to allow PHP and others to 'raise their hand' X-Git-Tag: 2.0.43~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fd6a8c4507c469a3a2f94004cf2ff7174bab568;p=thirdparty%2Fapache%2Fhttpd.git 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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97063 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/core.c b/server/core.c index 1ba7d71ad2e..1d49f656ae3 100644 --- a/server/core.c +++ b/server/core.c @@ -3259,14 +3259,6 @@ static int default_handler(request_rec *r) 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,