HPE_UNEXPECTED_CONTENT_LENGTH


服务器同时发送了 Content-Length 头和 Transfer-Encoding: chunked

【Server is sending both a Content-Length header and Transfer-Encoding: chunked.】

Transfer-Encoding: chunked 允许服务器为动态生成的内容保持 HTTP 持久连接。在这种情况下,不能使用 Content-Length HTTP 头。

使用 Content-LengthTransfer-Encoding: chunked

【Use Content-Length or Transfer-Encoding: chunked.】