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
This commit is contained in:
Niklas Lindgren 2012-09-12 19:34:59 +03:00 committed by Stanislav Malyshev
parent 56425ee610
commit 27542db4e7
5 changed files with 75 additions and 22 deletions

View file

@ -102,6 +102,8 @@ enum php_http_method
, PHP_HTTP_NOTIFY
, PHP_HTTP_SUBSCRIBE
, PHP_HTTP_UNSUBSCRIBE
/* unknown, not implemented */
, PHP_HTTP_NOT_IMPLEMENTED
};