mirror of https://github.com/nodejs/node.git
doc: fix typo in http.md
A small document update, all other instances of HTTP header on this page are written as 'Content-Length'. This also matches casing used with RFC 2616. PR-URL: https://github.com/nodejs/node/pull/10975 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>pull/8332/merge
parent
e8bb9e68c0
commit
e995a33c76
|
@ -1611,7 +1611,7 @@ There are a few special headers that should be noted.
|
|||
* Sending a 'Connection: keep-alive' will notify Node.js that the connection to
|
||||
the server should be persisted until the next request.
|
||||
|
||||
* Sending a 'Content-length' header will disable the default chunked encoding.
|
||||
* Sending a 'Content-Length' header will disable the default chunked encoding.
|
||||
|
||||
* Sending an 'Expect' header will immediately send the request headers.
|
||||
Usually, when sending 'Expect: 100-continue', you should both set a timeout
|
||||
|
|
Loading…
Reference in New Issue