Skip to content

Commit

Permalink
Merge pull request #58 from samsonasik/update-response-reason-phrase
Browse files Browse the repository at this point in the history
[Response] Update HTTP Reason phrase based on latest iana.org
  • Loading branch information
Ocramius authored Aug 17, 2022
2 parents 47bd20a + a9ffdb2 commit 7300482
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,13 @@ class Response extends AbstractMessage implements ResponseInterface
410 => 'Gone',
411 => 'Length Required',
412 => 'Precondition Failed',
413 => 'Request Entity Too Large',
414 => 'Request-URI Too Long',
413 => 'Content Too Large',
414 => 'URI Too Long',
415 => 'Unsupported Media Type',
416 => 'Requested range not satisfiable',
416 => 'Range Not Satisfiable',
417 => 'Expectation Failed',
418 => 'I\'m a teapot',
422 => 'Unprocessable Entity',
422 => 'Unprocessable Content',
423 => 'Locked',
424 => 'Failed Dependency',
425 => 'Too Early',
Expand All @@ -177,7 +177,7 @@ class Response extends AbstractMessage implements ResponseInterface
501 => 'Not Implemented',
502 => 'Bad Gateway',
503 => 'Service Unavailable',
504 => 'Gateway Time-out',
504 => 'Gateway Timeout',
505 => 'HTTP Version not supported',
506 => 'Variant Also Negotiates',
507 => 'Insufficient Storage',
Expand Down

0 comments on commit 7300482

Please sign in to comment.