HTTP中常用响应头

HTTP中常用响应头

Location: http://www.mydomain.com/index.jsp
Server:apache tomcat
Content-Encoding: gzip
Content-Length: 80
Content-Language: zh-cn
Content-Type: text/html; charset=GB2312
Last-Modified: Fri, 07 Feb 2020 09:30:53 GMT
Refresh: 1;url=http://www.mydomain.com
Content-Disposition: attachment; filename=aaa.zip
Transfer-Encoding: chunked
Set-Cookie:SS=Q0=5Lb_nQ; path=/ss
ETag: W/“7777-1242234904000”
Expires: 0
Cache-Control: no-cache
Pragma: no-cache
Connection: close/Keep-Alive
Date: Fri, 07 Feb 2020 09:30:53 GMT

参考

https://www.w3.org/Protocols/rfc2616/rfc2616.html
https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3
https://www.cnblogs.com/Joans/p/3956490.html
https://blog.csdn.net/u014175572/article/details/54861813
https://baijiahao.baidu.com/s?id=1612392982674092834

发布了284 篇原创文章 · 获赞 54 · 访问量 42万+

猜你喜欢

转载自blog.csdn.net/sayyy/article/details/104216319