summaryrefslogtreecommitdiff
path: root/sapi/cli/php_http_parser.c
diff options
context:
space:
mode:
authorMats Lindh <mats@lindh.no>2015-04-16 14:06:43 +0200
committerJulien Pauli <jpauli@php.net>2015-05-12 11:24:27 +0200
commit7a57061a1f56db416fbe4d6f4e01cc0aa5a51c61 (patch)
tree44c30cbd5efafc0a9372acbd1be2bb9b93fb1baf /sapi/cli/php_http_parser.c
parentb6018144cd0ebfefe5662eb6a1dea6604ef1775f (diff)
downloadphp-git-7a57061a1f56db416fbe4d6f4e01cc0aa5a51c61.tar.gz
Add comment about SEARCH HTTP Verb being possible as well
Diffstat (limited to 'sapi/cli/php_http_parser.c')
-rw-r--r--sapi/cli/php_http_parser.c3
1 files changed, 1 insertions, 2 deletions
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;