Skip to content

Commit 7300482

Browse files
authored
Merge pull request #58 from samsonasik/update-response-reason-phrase
[Response] Update HTTP Reason phrase based on latest iana.org
2 parents 47bd20a + a9ffdb2 commit 7300482

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Response.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,13 +155,13 @@ class Response extends AbstractMessage implements ResponseInterface
155155
410 => 'Gone',
156156
411 => 'Length Required',
157157
412 => 'Precondition Failed',
158-
413 => 'Request Entity Too Large',
159-
414 => 'Request-URI Too Long',
158+
413 => 'Content Too Large',
159+
414 => 'URI Too Long',
160160
415 => 'Unsupported Media Type',
161-
416 => 'Requested range not satisfiable',
161+
416 => 'Range Not Satisfiable',
162162
417 => 'Expectation Failed',
163163
418 => 'I\'m a teapot',
164-
422 => 'Unprocessable Entity',
164+
422 => 'Unprocessable Content',
165165
423 => 'Locked',
166166
424 => 'Failed Dependency',
167167
425 => 'Too Early',
@@ -177,7 +177,7 @@ class Response extends AbstractMessage implements ResponseInterface
177177
501 => 'Not Implemented',
178178
502 => 'Bad Gateway',
179179
503 => 'Service Unavailable',
180-
504 => 'Gateway Time-out',
180+
504 => 'Gateway Timeout',
181181
505 => 'HTTP Version not supported',
182182
506 => 'Variant Also Negotiates',
183183
507 => 'Insufficient Storage',

0 commit comments

Comments
 (0)