# 简介
对于请求头部和相应头部的认识
## 请求头部
在http请求头部里面 含有的参数有(常用):
1. Accept
2. Accept-Encoding
3. Accept-Language
4. Cache-Control
5. Connection
6. Host
7. Pragma
8. Upgrade-Insecure-Requests
9. User-Agent
10. Cookie
11. Content-Length
12. Content-Type
13. If-Match
14. If-Modified-Since
15. If-None-Match
16. Referrer
### Accept
指定客户端可以接收的内容类型
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
### Accept-Encoding
指定浏览器可以支持的web服务器返回内容压缩编码类型
Accept-Encoding:gzip, deflate, br
## 响应头部
1. Connection
2. Content-Encoding
3. Date
4. Transfer-Encoding
5. Accept-Ranges
6. Age
7. Cache-Control
8. Content-Length
9. Content-Type
10. Expires
11. Last-Modified
12. Pragma
13. Server
14. X-Powered-By
15. Set-Cookie
16. ETag