Skip to content

Commit db03294

Browse files
magnetikonlineMylesBorins
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 1518890 commit db03294

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

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

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

0 commit comments

Comments
 (0)