bug #16585 Add support for HTTP status code 418 back (dawehner)
This PR was merged into the 2.8 branch.
Discussion
----------
Add support for HTTP status code 418 back
See https://gist.github.com/anonymous/a863d7b493c4b09733ec what this results into
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | 16584
| License | MIT
| Doc PR |
Commits
-------
db5fbe0
add it back
This commit is contained in:
commit
36bf7069ac
@ -160,6 +160,7 @@ class Response
|
|||||||
415 => 'Unsupported Media Type',
|
415 => 'Unsupported Media Type',
|
||||||
416 => 'Range Not Satisfiable',
|
416 => 'Range Not Satisfiable',
|
||||||
417 => 'Expectation Failed',
|
417 => 'Expectation Failed',
|
||||||
|
418 => 'I\'m a teapot', // RFC2324
|
||||||
422 => 'Unprocessable Entity', // RFC4918
|
422 => 'Unprocessable Entity', // RFC4918
|
||||||
423 => 'Locked', // RFC4918
|
423 => 'Locked', // RFC4918
|
||||||
424 => 'Failed Dependency', // RFC4918
|
424 => 'Failed Dependency', // RFC4918
|
||||||
|
Reference in New Issue
Block a user