From: Mats Lindh Date: Thu, 16 Apr 2015 12:06:43 +0000 (+0200) Subject: Add comment about SEARCH HTTP Verb being possible as well X-Git-Tag: PRE_PHP7_NSAPI_REMOVAL~42^2~113 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a57061a1f56db416fbe4d6f4e01cc0aa5a51c61;p=php Add comment about SEARCH HTTP Verb being possible as well --- diff --git a/sapi/cli/php_http_parser.c b/sapi/cli/php_http_parser.c index 558a4efec3..653c54c1a5 100644 --- a/sapi/cli/php_http_parser.c +++ b/sapi/cli/php_http_parser.c @@ -589,7 +589,7 @@ size_t php_http_parser_execute (php_http_parser *parser, case 'O': parser->method = PHP_HTTP_OPTIONS; break; case 'P': parser->method = PHP_HTTP_POST; /* or PROPFIND or PROPPATCH or PUT */ break; case 'R': parser->method = PHP_HTTP_REPORT; break; - case 'S': parser->method = PHP_HTTP_SUBSCRIBE; break; + case 'S': parser->method = PHP_HTTP_SUBSCRIBE; /* or SEARCH */ break; case 'T': parser->method = PHP_HTTP_TRACE; break; case 'U': parser->method = PHP_HTTP_UNLOCK; /* or UNSUBSCRIBE */ break; default: parser->method = PHP_HTTP_NOT_IMPLEMENTED; break; @@ -597,7 +597,6 @@ size_t php_http_parser_execute (php_http_parser *parser, state = s_req_method; break; } - case s_req_method: { const char *matcher;