Skip to content

Commit 3226569

Browse files
committed
Update Response status code in line with iana
1 parent 2b2eedb commit 3226569

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/Symfony/Component/HttpFoundation/Response.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ class Response
8181
303 => 'See Other',
8282
304 => 'Not Modified',
8383
305 => 'Use Proxy',
84-
306 => 'Reserved',
8584
307 => 'Temporary Redirect',
8685
308 => 'Permanent Redirect', // RFC7238
8786
400 => 'Bad Request',
@@ -97,12 +96,11 @@ class Response
9796
410 => 'Gone',
9897
411 => 'Length Required',
9998
412 => 'Precondition Failed',
100-
413 => 'Request Entity Too Large',
101-
414 => 'Request-URI Too Long',
99+
413 => 'Payload Too Large',
100+
414 => 'URI Too Long',
102101
415 => 'Unsupported Media Type',
103-
416 => 'Requested Range Not Satisfiable',
102+
416 => 'Range Not Satisfiable',
104103
417 => 'Expectation Failed',
105-
418 => 'I\'m a teapot', // RFC2324
106104
422 => 'Unprocessable Entity', // RFC4918
107105
423 => 'Locked', // RFC4918
108106
424 => 'Failed Dependency', // RFC4918

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy