传输编码和内容编码标头的优先级

问题描述

我试图弄清楚这两个标头“ transfer-encoding:chunked”和“ content-encoding:gzip”的优先级。

curl -D- -o/dev/null http://test.com/test.PHP -H"Accept-Encoding: gzip,deflate"
HTTP/1.1 200 OK

Date: Mon,24 Aug 2020 06:53:56 GMT

Server: Apache

X-Powered-By: PHP/5.4.16

vary: Accept-Encoding,User-Agent

content-encoding: gzip

transfer-encoding: chunked

Content-Type: text/html; charset=UTF-8

我知道推荐正在使用其中之一,但是我们的客户之一如上所述。

请告诉我您是否对此有所了解。

感谢您的回答。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)