Skip to content

Commit

Permalink
doc: fix typo in http.md
Browse files Browse the repository at this point in the history
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 <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
magnetikonline authored and evanlucas committed Jan 31, 2017
1 parent eff3a48 commit ac36d78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac36d78

Please sign in to comment.