Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/iana-425-change' into develop
Browse files Browse the repository at this point in the history
Forward port #313
  • Loading branch information
weierophinney committed Jul 9, 2018
2 parents 7ab5bcf + 4527c29 commit 913ae25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ All notable changes to this project will be documented in this file, in reverse

### Changed

- Nothing.
- [#313](https://github.com/zendframework/zend-diactoros/pull/313) changes the reason phrase associated with the status code 425
to "Too Early", corresponding to a new definition of the code as specified by the IANA.

### Deprecated

Expand Down
2 changes: 1 addition & 1 deletion src/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class Response implements ResponseInterface
422 => 'Unprocessable Entity',
423 => 'Locked',
424 => 'Failed Dependency',
425 => 'Unordered Collection',
425 => 'Too Early',
426 => 'Upgrade Required',
428 => 'Precondition Required',
429 => 'Too Many Requests',
Expand Down

0 comments on commit 913ae25

Please sign in to comment.