请求 头部
Http 请求 头部
可以在HTTP请求中使用,为正在发出的请求提供上下文,以便服务器可以定制响应。
E.g Accept-* vheaders 表示允许和首选的响应格式。
其他标头可用于提供身份验证凭据、控制缓存或获取有关用户代理等的信息..,
修改请求标题
进入URL字段下的 Headers 选项卡,并将标题添加到标题列表
常用的头部
| Common Headers | Function |
|---|---|
| WWW-Authenticate | The server may send this as an initial response if it needs some form of authentication before responding with the actual resource being requested. |
| Authorization | Contains the authentication credentials for HTTP authentication. |
| Proxy-Authorization | HTTP Proxy-Authorization request header contains the credentials to authenticate a user agent to a proxy server |
| Age | Age directive states the maximum amount of time in seconds that fetched responses are allowed to be used again (from the time when a request is made) |
| Cache-Control | The cache policy defined by the server for this response, a cached response can be stored by the client and re-used till the time defined by the Cache-Control header |