Article Directory
HTTP headers
- Http request and response messages must be included in the HTTP header
- HTTP headers understood as follows:Contents + Overview + additional information
- Request packet
- Response message
[1] HTTP header field
- Request and response header fields are used,Pass additional role of information
[2] HTTP header field to repeat how to do?
Protocol specification has not been clearly specified in this case, depending on the internal processing logic of the browser, and the result may be the same, some browsers will give priority to the first occurrence, some will deal with the last occurrence of header fields
[3] four kinds of HTTP header field type
1. Common header field (General Header Fields)
- Field of the request packet and response packet are used
2. Request header field (Request Header Fields)
- Supplemented request additional information, client information, and the associated response content and priority
3. The response header field (Response Header Fields)
- Complements the additional content of the response, the client will be required to attach additional information, content information
4. The entity header field (Entity Header Fields)
- Complements the resource content updated, relevant information to the entity