diff options
author | Niklas Lindgren <nikc@iki.fi> | 2012-09-12 19:34:59 +0300 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2012-09-15 23:11:12 -0700 |
commit | 27542db4e70c388346fc9983b9c7d58248aaa52d (patch) | |
tree | 9c4dfb7744f0c02e19f2c8b7335cff66909bb2ca /sapi/cli/php_http_parser.h | |
parent | 56425ee61080c5e666613e88777ee665e858b367 (diff) | |
download | php-git-27542db4e70c388346fc9983b9c7d58248aaa52d.tar.gz |
Respond with 501 to unknown request methods
Fixed typo
Moved 501 response from dispatch to event_read_request
Return return value of send_error_page
Diffstat (limited to 'sapi/cli/php_http_parser.h')
-rw-r--r-- | sapi/cli/php_http_parser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sapi/cli/php_http_parser.h b/sapi/cli/php_http_parser.h index 7e72b78d7d..0f6c13dd35 100644 --- a/sapi/cli/php_http_parser.h +++ b/sapi/cli/php_http_parser.h @@ -102,6 +102,8 @@ enum php_http_method , PHP_HTTP_NOTIFY , PHP_HTTP_SUBSCRIBE , PHP_HTTP_UNSUBSCRIBE + /* unknown, not implemented */ + , PHP_HTTP_NOT_IMPLEMENTED }; |