cvs: php4 /main SAPI.c
| From: | Christian Stocker | Date: | Thu, 22 Aug 2002 07:56:40 +0000 |
| Subject: | cvs: php4 /main SAPI.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13552@lists.php.net to get a copy of this message | ||
chregu Thu Aug 22 03:56:40 2002 EDT
Modified files:
/php4/main SAPI.c
Log:
do not check for POST twice
Index: php4/main/SAPI.c
diff -u php4/main/SAPI.c:1.146 php4/main/SAPI.c:1.147
--- php4/main/SAPI.c:1.146 Thu Aug 22 03:48:22 2002
+++ php4/main/SAPI.c Thu Aug 22 03:56:39 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: SAPI.c,v 1.146 2002/08/22 07:48:22 chregu Exp $ */
+/* $Id: SAPI.c,v 1.147 2002/08/22 07:56:39 chregu Exp $ */
#include <ctype.h>
#include <sys/stat.h>
@@ -313,7 +313,6 @@
|| !strcmp(SG(request_info).request_method, "PROPPATCH")
|| !strcmp(SG(request_info).request_method, "PUT")
|| !strcmp(SG(request_info).request_method, "MOVE")
- || !strcmp(SG(request_info).request_method, "POST")
|| !strcmp(SG(request_info).request_method, "COPY")
|| !strcmp(SG(request_info).request_method, "LOCK"))))) {
if (!SG(request_info).content_type) {