HPE_UNEXPECTED_CONTENT_LENGTH
服务器正在发送 Content-Length
标头和 Transfer-Encoding: chunked
。
Transfer-Encoding: chunked
允许服务器为动态生成的内容维护 HTTP 持久连接。
在这种情况下,无法使用 Content-Length
HTTP 标头。
使用 Content-Length
或 Transfer-Encoding: chunked
。
Server is sending both a Content-Length
header and Transfer-Encoding: chunked
.
Transfer-Encoding: chunked
allows the server to maintain an HTTP persistent
connection for dynamically generated content.
In this case, the Content-Length
HTTP header cannot be used.
Use Content-Length
or Transfer-Encoding: chunked
.