Accept-Encoding: gzip, deflate.
接受-编码:gzip, deflate。
Specifically, the Accept-Encoding header is used to specify that the browser can accept compressed output.
具体地说,使用 Accept-Encoding 请求头来指定浏览器可以接收压缩的输出。
Starting with HTTP/1.1, web clients indicate support for compression with the Accept-Encoding header in the HTTP request.
Web 客户端从 HTTP/1.1 开始表示支持 HTTP 请求中 Accept-Encoding 头压缩。
Note that IIS will only compress dynamic content when the HTTP request headers sent from the browser contain Accept-Encoding: gzip.
注意,只有在浏览器发送的HTTP请求头包含Accept - Encoding: gzip的情况下,IIS才会压缩动态内容。
Having modified the HTTP request to include the Accept-Encoding header with a value of GZIP, I need to modify the method used to read that content.
通过修改HTTP请求添加值为GZIP的Accept - encoding头之后,我需要修改用来读取内容的方法。