HTTP Brief One

Source: Internet
Author: User
1. Common HTTP request headers

Accept-charset: The character set accepted by the client

Accept-encoding: Acceptable content encoding

Accept-language: Specify Natural language

Host: The Internet host and port of the requested resource

User-agent: Client system, browser, etc. must be sent

Connection: Whether the connection remains

2. Common HTTP Response Headers

Server: Servers name

Content-type: Body Media type

Content-encoding: Server-Side compression encoding method

Content-language: Resource Description Language

Content-length: The length of the entity body, expressed as a decimal number of the body stored in bytes

Keep-alive: Time to stay connected

3. Common HTTP status Code

200: Client Request succeeded

302: Temporary jump, the address of the jump is specified by location

400: Client request has syntax error and cannot be recognized by server

403: The server receives the request but refuses to provide the service

404: Request resource does not exist

500: Unexpected error occurred on server

HTTP Brief One

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.