Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: use
Buffer.byteLength
for Content-Length
As the description in http.md: > If the body contains higher coded characters then Buffer.byteLength() should be used to determine the number of bytes in a given encoding. PR-URL: #7274 Reviewed-By: Brian White <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Jackson Tian <[email protected]>
- Loading branch information