8000 Update HTTP statuses list · mikeSimonson/symfony@fa99fbd · GitHub
[go: up one dir, main page]

Skip to content

Commit fa99fbd

Browse files
dasmfmfabpot
authored andcommitted
Update HTTP statuses list
1 parent f999e77 commit fa99fbd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Component/HttpFoundation/Response.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Response
5353
*
5454
* The list of codes is complete according to the
5555
* {@link http://www.iana.org/assignments/http-status-codes/ Hypertext Transfer Protocol (HTTP) Status Code Registry}
56-
* (last updated 2012-02-13).
56+
* (last updated 2016-03-01).
5757
*
5858
* Unless otherwise noted, the status code is defined in RFC2616.
5959
*
@@ -101,6 +101,7 @@ class Response
101101
416 => 'Requested Range Not Satisfiable',
102102
417 => 'Expectation Failed',
103103
418 => 'I\'m a teapot', // RFC2324
104+
421 => 'Misdirected Request', // RFC7540
104105
422 => 'Unprocessable Entity', // RFC4918
105106
423 => 'Locked', // RFC4918
106107
424 => 'Failed Dependency', // RFC4918

0 commit comments

Comments
 (0)
0