File tree Expand file tree Collapse file tree 4 files changed +13
-0
lines changed Expand file tree Collapse file tree 4 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 3
3
?? ??? 201?, PHP 5.5.0 Beta 1
4
4
5
5
- Core:
6
+ . Implemented FR #64175 (Added HTTP codes as of RFC 6585). (Jonh Wendell)
6
7
. Fixed bug #64135 (Exceptions from set_error_handler are not always
7
8
propagated). (Laruence)
8
9
. Fixed bug #63830 (Segfault on undefined function call in nested generator).
Original file line number Diff line number Diff line change @@ -384,12 +384,16 @@ static const http_error http_error_codes[] = {
384
384
{413 , "Request Entity Too Large" },
385
385
{414 , "Request-URI Too Large" },
386
386
{415 , "Unsupported Media Type" },
387
+ {428 , "Precondition Required" },
388
+ {429 , "Too Many Requests" },
389
+ {431 , "Request Header Fields Too Large" },
387
390
{500 , "Internal Server Error" },
388
391
{501 , "Not Implemented" },
389
392
{502 , "Bad Gateway" },
390
393
{503 , "Service Unavailable" },
391
394
{504 , "Gateway Time-out" },
392
395
{505 , "HTTP Version not supported" },
396
+ {511 , "Network Authentication Required" },
393
397
{0 , NULL }
394
398
};
395
399
Original file line number Diff line number Diff line change @@ -236,12 +236,16 @@ static php_cli_server_http_reponse_status_code_pair status_map[] = {
236
236
{ 415 , "Unsupported Media Type" },
237
237
{ 416 , "Requested Range Not Satisfiable" },
238
238
{ 417 , "Expectation Failed" },
239
+ { 428 , "Precondition Required" },
240
+ { 429 , "Too Many Requests" },
241
+ { 431 , "Request Header Fields Too Large" },
239
242
{ 500 , "Internal Server Error" },
240
243
{ 501 , "Not Implemented" },
241
244
{ 502 , "Bad Gateway" },
242
245
{ 503 , "Service Unavailable" },
243
246
{ 504 , "Gateway Timeout" },
244
247
{ 505 , "HTTP Version Not Supported" },
248
+ { 511 , "Network Authentication Required" },
245
249
};
246
250
247
251
static php_cli_server_http_reponse_status_code_pair template_map [] = {
Original file line number Diff line number Diff line change @@ -375,12 +375,16 @@ static const http_error http_error_codes[] = {
375
375
{413 , "Request Entity Too Large" },
376
376
{414 , "Request-URI Too Large" },
377
377
{415 , "Unsupported Media Type" },
378
+ {428 , "Precondition Required" },
379
+ {429 , "Too Many Requests" },
380
+ {431 , "Request Header Fields Too Large" },
378
381
{500 , "Internal Server Error" },
379
382
{501 , "Not Implemented" },
380
383
{502 , "Bad Gateway" },
381
384
{503 , "Service Unavailable" },
382
385
{504 , "Gateway Time-out" },
383
386
{505 , "HTTP Version not supported" },
387
+ {511 , "Network Authentication Required" },
384
388
{0 , NULL }
385
389
};
386
390
You can’t perform that action at this time.
0 commit comments