mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
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:
parent
56425ee610
commit
27542db4e7
5 changed files with 75 additions and 22 deletions
|
@ -102,6 +102,8 @@ enum php_http_method
|
|||
, PHP_HTTP_NOTIFY
|
||||
, PHP_HTTP_SUBSCRIBE
|
||||
, PHP_HTTP_UNSUBSCRIBE
|
||||
/* unknown, not implemented */
|
||||
, PHP_HTTP_NOT_IMPLEMENTED
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue