Skip to content

Commit ac36d78

Browse files
magnetikonlineevanlucas
authored andcommitted
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: #10975 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent eff3a48 commit ac36d78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1611,7 +1611,7 @@ There are a few special headers that should be noted.
16111611
* Sending a 'Connection: keep-alive' will notify Node.js that the connection to
16121612
the server should be persisted until the next request.
16131613

1614-
* Sending a 'Content-length' header will disable the default chunked encoding.
1614+
* Sending a 'Content-Length' header will disable the default chunked encoding.
16151615

16161616
* Sending an 'Expect' header will immediately send the request headers.
16171617
Usually, when sending 'Expect: 100-continue', you should both set a timeout

0 commit comments

Comments
 (0)