Skip to content

Commit f98a7fa

Browse files
magnetikonlinejasnell
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 8932367 commit f98a7fa

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
@@ -1623,7 +1623,7 @@ There are a few special headers that should be noted.
16231623
* Sending a 'Connection: keep-alive' will notify Node.js that the connection to
16241624
the server should be persisted until the next request.
16251625

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

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

0 commit comments

Comments
 (0)