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