apache2.4 怎么关闭Transfer-Encoding

现在打开网页的头信息如下

HTTP/1.1 200 OK
Date: Sun, 04 Jun 2017 10:03:58 GMT
Server: Apache
Strict-Transport-Security: max-age=31536000; includeSubDomains
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Encoding: gzip
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=Utf-8

还有就是怎么把这两行

Keep-Alive: timeout=5, max=100 
Expires: Thu, 19 Nov 1981 08:52:00 GMT

隐藏起来

怎么把Transfer-Encoding: chunked 关闭,让他使用Content-length

阅读 3.2k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题