Skip to content

Commit c02eee0

Browse files
committed
minor symfony#18650 Update HTTP statuses list (dasmfm)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes symfony#18650). Discussion ---------- Update HTTP statuses list | Q | A | ------------- | --- | Branch? | 2.3 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- fa99fbd Update HTTP statuses list
2 parents f999e77 + fa99fbd commit c02eee0

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)