尽管 Content-Length 没有显示估计的下载时间
Despite a Content-Length no estimated download time is displayed
我遇到了一些奇怪的事情,当我从我的服务器下载文件时,尽管响应 header 指示了内容长度,但没有下载的预计到达时间。
我发现这是由设置为分块的传输编码引起的。
Whenever the trailers are used, the server should list their names in
the Trailer header field; 3 header field types are specifically
prohibited from appearing as a trailer field: Transfer-Encoding,
Content-Length and Trailer.
我遇到了一些奇怪的事情,当我从我的服务器下载文件时,尽管响应 header 指示了内容长度,但没有下载的预计到达时间。
我发现这是由设置为分块的传输编码引起的。
Whenever the trailers are used, the server should list their names in the Trailer header field; 3 header field types are specifically prohibited from appearing as a trailer field: Transfer-Encoding, Content-Length and Trailer.