HTTP Knowledge Popularity series: HTTP messages within HTTP messages

Source: Internet
Author: User
  1. HTTP messages are information that is used for HTTP protocol interactions.
  2. Structure of request message and response message:
    1. Request Line
    2. Status line
    3. Header field
      1. General Header
      2. Request Header
      3. Response header
      4. Entity Header
    4. Other
  3. Several ways to encode common content
    1. Gzip (GNU Zip)
    2. Compress (standard compression of UNIX systems)
    3. Deflate (zlib)
    4. Identity (not coded)
  4. 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)"
  5. 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.
  6. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.