X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http.c;h=c68f61d33740edadcb30c762f0adf6fbba3bec69;hp=43f15461e684ea794ea6e386c4644836bd5378ee;hb=9bfaa02649e367ae3a7fdd89069034f6fc8602e7;hpb=e93a92c530d8adb0e99682b458edcb05efc7db0d diff --git a/http.c b/http.c index 43f1546..c68f61d 100644 --- a/http.c +++ b/http.c @@ -416,8 +416,18 @@ PHP_INI_MH(update_allowed_methods) } PHP_INI_BEGIN() - STD_PHP_INI_ENTRY("http.allowed_methods", - "OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, CONNECT, PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, UNLOCK", + STD_PHP_INI_ENTRY("http.allowed_methods", + /* HTTP 1.1 */ + "GET, HEAD, POST, PUT, DELETE, OPTIONS, TRACE, CONNECT, " + /* WebDAV - RFC 2518 * / + "PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, UNLOCK, " + /* WebDAV Versioning - RFC 3253 * / + "VERSION-CONTROL, REPORT, CHECKOUT, CHECKIN, UNCHECKOUT, " + "MKWORKSPACE, UPDATE, LABEL, MERGE, BASELINE-CONTROL, MKACTIVITY, " + /* WebDAV Access Control - RFC 3744 * / + "ACL, " + /* END */ + , PHP_INI_ALL, update_allowed_methods, allowed_methods, zend_http_globals, http_globals) PHP_INI_END() /* }}} */