0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc
Miles Elam baf8495078 http: process 100, 102-199 according to specs.
Adding ServerResponse.writeProcessing to send 102 status codes.

Added an `'information'` event to ClientRequest to handle
1xx status codes except 101 Upgrade.
101 Upgrade is excluded due to its non-informational
processing according to RFC7231, Section 6.2.2.

This affects several modules downstream that use the http
module, e.g., node-fetch, all of whom violate HTTP RFCs
due to this module. As such, this could introduce a
breaking change for downstream if HTTP standards were
ignored in an ad-hoc fashion.

See also RFC2518 RFC8297.

PR-URL: https://github.com/nodejs/node/pull/18033
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
2018-02-15 11:57:57 +01:00
..
api http: process 100, 102-199 according to specs. 2018-02-15 11:57:57 +01:00
api_assets doc: fix paragraph line-height issue 2017-10-15 12:39:49 +02:00
changelogs doc: make linter happy 2018-02-14 00:46:09 +01:00
guides doc: fix links to Style Guide and CPP Style Guide 2018-02-10 03:12:12 +02:00
.eslintrc.yaml tools: enable additional eslint rules 2017-10-19 13:54:14 -04:00
first_timer_badge.png doc: add recommendations for first timers 2017-10-24 10:26:20 -04:00
full-white-stripe.jpg build: update Node.js logo on Win installer 2016-03-06 20:22:36 -06:00
node.1 doc: fix manpage warnings 2018-01-30 18:51:26 +01:00
onboarding-extras.md doc: update onboarding-extras 2018-02-06 13:55:38 +01:00
onboarding.md doc: document the collaborator nomination process 2018-01-24 18:42:09 +08:00
osx_installer_logo.png build: update Node.js logo on OSX installer 2016-02-27 16:49:56 +11:00
releases.md doc: use dashes instead of asterisks 2017-12-26 10:41:17 +01:00
STYLE_GUIDE.md doc: fix e.g., to e.g. in docs 2018-01-25 16:29:50 +02:00
template.html doc: responsive docs, rewrite font sizes 2017-10-10 21:28:15 +02:00
thin-white-stripe.jpg build: update Node.js logo on Win installer 2016-03-06 20:22:36 -06:00