Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP 418 missing #2

Closed
RinkAttendant6 opened this issue Feb 6, 2017 · 1 comment
Closed

HTTP 418 missing #2

RinkAttendant6 opened this issue Feb 6, 2017 · 1 comment

Comments

@RinkAttendant6
Copy link
Contributor

As defined in section 2.3.2 of RFC 2324:

418 I'm a teapot

Any attempt to brew coffee with a teapot should result in the error code "418 I'm a teapot". The resulting entity body MAY be short and stout.

Is there any reason that the code is missing from StatusCodeInterface?

Even though "it is not expected to be implemented by actual HTTP servers", there are actual implementations of it (see https://stackoverflow.com/q/24018008/404623) and it is trivial to do in PHP.

@weierophinney
Copy link
Contributor

@RinkAttendant6 Feel free to open a pull request with this addition.

weierophinney added a commit that referenced this issue Feb 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants