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: docs deprecation of 418 teapot status #14693
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -660,6 +660,19 @@ Type: Runtime | |
|
||
`REPLServer.parseREPLKeyword()` was removed from userland visibility. | ||
|
||
<a id="DEP00XX"></a> | ||
#### DEP00XX: HTTP 418 I'm a teapot Status | ||
|
||
Type: Documentation-only | ||
|
||
The HTTP `418 I'm a teapot` status code was defined in [RFC2324][] as an | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's important to note that 418 is not an HTTP status code, merely an HTCPCP one. I'd just remove the "HTTP" wording. |
||
April Fools joke to illustrate the ways in which the HTTP protocol can be | ||
misused. The status code is not registered in the [IANA HTTP Status Codes][] | ||
registry and *may* be registered in the future for purposes other than those | ||
described in [RFC2324][]. | ||
|
||
*Note*: This deprecation applies *only* to the use of the `418` status code | ||
to identify the [RFC2324][] defined `I'm a teapot` response semantics. | ||
|
||
[`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size | ||
[`Buffer.from(array)`]: buffer.html#buffer_class_method_buffer_from_array | ||
|
@@ -691,6 +704,7 @@ Type: Runtime | |
[`os.networkInterfaces`]: os.html#os_os_networkinterfaces | ||
[`os.tmpdir()`]: os.html#os_os_tmpdir | ||
[`punycode`]: punycode.html | ||
[`REPLServer.clearBufferedCommand()`]: repl.html#repl_replserver_clearbufferedcommand | ||
[`require.extensions`]: globals.html#globals_require_extensions | ||
[`tls.CryptoStream`]: tls.html#tls_class_cryptostream | ||
[`tls.SecureContext`]: tls.html#tls_tls_createsecurecontext_options | ||
|
@@ -724,4 +738,5 @@ Type: Runtime | |
[alloc_unsafe_size]: buffer.html#buffer_class_method_buffer_allocunsafe_size | ||
[from_arraybuffer]: buffer.html#buffer_class_method_buffer_from_arraybuffer_byteoffset_length | ||
[from_string_encoding]: buffer.html#buffer_class_method_buffer_from_string_encoding | ||
[`REPLServer.clearBufferedCommand()`]: repl.html#repl_replserver_clearbufferedcommand | ||
[IANA HTTP Status Codes]: https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml | ||
[RFC2324]: https://www.ietf.org/rfc/rfc2324.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this and the other instances be replaced?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Value is assigned when PR lands.