简介
对于请求头部和相应头部的认识
请求头部
在http请求头部里面 含有的参数有(常用):
- Accept
- Accept-Encoding
- Accept-Language
- Cache-Control
- Connection
- Host
- Pragma
- Upgrade-Insecure-Requests
- User-Agent
- Cookie
- Content-Length
- Content-Type
- If-Match
- If-Modified-Since
- If-None-Match
- Referrer
响应头部
- Connection
- Content-Encoding
- Date
- Transfer-Encoding
- Accept-Ranges
- Age
- Cache-Control
- Content-Length
- Content-Type
- Expires
- Last-Modified
- Pragma
- Server
- X-Powered-By
- Set-Cookie
- ETag