Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 230bcaf

Browse filesBrowse files
nikolaykrashnikovBethGriggs
authored andcommitted
doc: add HPE_UNEXPECTED_CONTENT_LENGTH error description
PR-URL: #34596 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
1 parent fd5153c commit 230bcaf
Copy full SHA for 230bcaf

File tree

Expand file treeCollapse file tree

1 file changed

+11
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+11
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/errors.md‎

Copy file name to clipboardExpand all lines: doc/api/errors.md
+11Lines changed: 11 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2215,6 +2215,17 @@ malconfigured clients, if more than 8KB of HTTP header data is received then
22152215
HTTP parsing will abort without a request or response object being created, and
22162216
an `Error` with this code will be emitted.
22172217

2218+
<a id="HPE_UNEXPECTED_CONTENT_LENGTH"></a>
2219+
### `HPE_UNEXPECTED_CONTENT_LENGTH`
2220+
2221+
Server is sending both a `Content-Length` header and `Transfer-Encoding: chunked`.
2222+
2223+
`Transfer-Encoding: chunked` allows the server to maintain an HTTP persistent
2224+
connection for dynamically generated content.
2225+
In this case, the `Content-Length` HTTP header cannot be used.
2226+
2227+
Use `Content-Length` or `Transfer-Encoding: chunked`.
2228+
22182229
<a id="MODULE_NOT_FOUND"></a>
22192230
### `MODULE_NOT_FOUND`
22202231
<!-- YAML

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.