Skip to content

Commit

Permalink
feat: added 218
Browse files Browse the repository at this point in the history
  • Loading branch information
heggland committed Oct 30, 2024
1 parent 68b5d47 commit 9dcf706
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
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
Expand Up @@ -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' },
Expand Down
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.

0 comments on commit 9dcf706

Please sign in to comment.