Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 36bf706

Browse filesBrowse files
committed
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
2 parents 7748b05 + db5fbe0 commit 36bf706
Copy full SHA for 36bf706

File tree

1 file changed

+1
-0
lines changed
Filter options

1 file changed

+1
-0
lines changed

‎src/Symfony/Component/HttpFoundation/Response.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/Response.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ class Response
160160
415 => 'Unsupported Media Type',
161161
416 => 'Range Not Satisfiable',
162162
417 => 'Expectation Failed',
163+
418 => 'I\'m a teapot', // RFC2324
163164
422 => 'Unprocessable Entity', // RFC4918
164165
423 => 'Locked', // RFC4918
165166
424 => 'Failed Dependency', // RFC4918

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.