- HTTP messages are information that is used for HTTP protocol interactions.
- Structure of request message and response message:
- Request Line
- Status line
- Header field
- General Header
- Request Header
- Response header
- Entity Header
- Other
- Several ways to encode common content
- Gzip (GNU Zip)
- Compress (standard compression of UNIX systems)
- Deflate (zlib)
- Identity (not coded)
- The function of the block of the entity body becomes the chunked transmission code, each chunk is marked with hexadecimal to the size of the block, and the last piece of the entity body uses "0 (CR+LF)"
- Gets the scope request for a partial content that requires the specified downloaded entity scope for this function to be implemented. If the server is unable to respond to the request scope, a status code of OK and full entity content is returned.
- The content negotiation mechanism refers to the client and server to negotiate the content of the response, and then provides the most appropriate resources for the client. Content negotiation serves as a benchmark for determining the language, character set, and encoding of the response resource.
HTTP Knowledge Popularity series: HTTP messages within HTTP messages