content-length when using http compression

后端 未结 3 1587
死守一世寂寞
死守一世寂寞 2020-12-05 17:32

The client is making a range request 0-1023 to the http server. It prefers gzip compression with Accept-Encoding: gzip;q=1.0, identity; q=0.5, *;q=0 in the request.

<
3条回答
  •  自闭症患者
    2020-12-05 18:07

    The actual content length depends on the transfer encoding and data: If you use identity, no compression is applied and the content length is 1024; if you use gzip, the actual content length depends on the data that is to be compressed.

提交回复
热议问题