* add webdav request methods to standard allowed methods
authorMichael Wallner <mike@php.net>
Wed, 9 Mar 2005 13:23:13 +0000 (13:23 +0000)
committerMichael Wallner <mike@php.net>
Wed, 9 Mar 2005 13:23:13 +0000 (13:23 +0000)
http.c

diff --git a/http.c b/http.c
index 9b5c7f6116165f143728bde2b8a81cd947109db3..155d0fe66d01dd8504cc701aa405151edaa1e5ef 100644 (file)
--- a/http.c
+++ b/http.c
@@ -417,7 +417,9 @@ PHP_INI_MH(update_allowed_methods)
 }
 
 PHP_INI_BEGIN()
-       STD_PHP_INI_ENTRY("http.allowed_methods", "OPTIONS,GET,HEAD,POST,PUT,DELETE,TRACE,CONNECT", PHP_INI_ALL, update_allowed_methods, allowed_methods, zend_http_globals, http_globals)
+       STD_PHP_INI_ENTRY("http.allowed_methods", 
+               "OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, CONNECT, PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, UNLOCK", 
+               PHP_INI_ALL, update_allowed_methods, allowed_methods, zend_http_globals, http_globals)
 PHP_INI_END()
 /* }}} */