Web Services and HTTP protocols

Source: Internet
Author: User

Http:hypetext Transfer Protocol: Hypertext Transfer Protocol

Uri:uniform Resource indentifier: Uniform Resource Identifier


Status code:

1XX Pure Information

2XX Success Class information (200)

3XX Redirection class information (301,302,304)

4XX Client Error class information (404)

5xx Server-side error class information


Main operations of the Web server

1. Establish a connection-accept or reject the client connection request

2. Accept requests-Read HTTP request messages over the network

3, processing request-parse request message and make corresponding action

4. Access resources-resources related to access request messages

5. Build response-Generate HTTP response message with correct header

6. Send response-sends the generated response message to the client

7. Logging-When the completed HTTP thing is logged into the log file


The first line of the message is usually called the starting line of the message, and the contents of the label format are called the header fields, each header field has a name and value, separated by commas. Response messages usually have a body of information called body, that is, the content that responds to the client



This article is from the "ngames" blog, make sure to keep this source http://ngames.blog.51cto.com/3187187/1560877

Web Services and HTTP protocols

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.