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

Add 218 - non standard #226

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions content/218.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
## Description

<aside class="warning"><strong>Unofficial:</strong> This HTTP status code is not specified by any RFC.</aside>

The HTTP status code `218 This Is Fine` is an unofficial code that indicates the server has encountered a minor issue but continues to operate without disruption, signaling that "everything is fine" despite a manageable error.

This code serves to communicate success while acknowledging a minor HTTP client or server issue, without impacting overall functionality.

### Apache and Proxy-Error-Override

In some cases, this status code may appear if a server is configured with custom error handling. By using `ProxyErrorOverride`, servers can override standard 4xx or 5xx responses with `218` for minor issues, helping maintain a consistent user experience.

### See Also

- [418 I’m a teapot](https://http.cat/status/418)
- [http.dev/218](https://http.dev/218)
- [The Curious Case of HTTP: Unraveling the Weirdest Status Codes](https://medium.com/@rahulchakraborty337/the-curious-case-of-http-unraveling-the-weirdest-status-codes-c0670b18333)

1 change: 1 addition & 0 deletions lib/statuses.js
Original file line number Diff line number Diff line change
@@ -15,6 +15,7 @@ const statuses = {
207: { code: 207, message: 'Multi-Status' },
208: { code: 208, message: 'Already Reported' },
214: { code: 214, message: 'Transformation Applied' },
218: { code: 218, message: 'This is Fine'},
226: { code: 226, message: 'IM Used' },
300: { code: 300, message: 'Multiple Choices' },
301: { code: 301, message: 'Moved Permanently' },
Binary file added public/images-original/218.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/218.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.