Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #22357 [HttpFoundation] Fix and test status codes according to …
…IANA's data (dunglas) This PR was merged into the 2.7 branch. Discussion ---------- [HttpFoundation] Fix and test status codes according to IANA's data | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no <!-- don't forget updating src/**/CHANGELOG.md files --> | BC breaks? | no | Deprecations? | no <!-- don't forget updating UPGRADE-*.md files --> | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a This PR updates HTTP status code according to values [standardized by the IANA](https://www.iana.org/assignments/http-status-codes/http-status-codes.xml). It also add a test to check the conformance (we'll also be notified when a code is added, ~~removed~~ or modified). All credits go to @fcabralpacheco for is work in Zend Diactoros: zendframework/zend-diactoros#234 Commits ------- 72d25cc [HttpFoundation] Fix and test status codes according to IANA's data
- Loading branch information
Showing
2 changed files
with
65 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters