HTTP protocol-based Web server

Source: Internet
Author: User

1, the HTTP protocol is an application-level protocol, the main features are summarized as follows

1) Support Client server mode

2) Simple and fast, when the customer requests the service to the server, only needs to transmit the method and the path, the request method has get,post. Each method stipulates that the customer and the server contact type is different, because the HTTP protocol is simple, the HTTP protocol is simple, makes the Web server scale small, thus the communication speed is very fast.

3) Flexible, HTTP allows the transfer of any type of data object.

4) No connection, no connection does not need to connect, the meaning of no connection is to process only one request at a time, the server processes the customer's request, and receives the customer answers, namely disconnects

5) stateless, the HTTP protocol is stateless, stateless means that the protocol does not deal with no transaction without memory ability, the lack of state is that if the subsequent processing requires the previous information, it must be re-transmitted, which results in the amount of data transmitted each time increased.

Project description

1) One of the characteristics of the HTTP protocol is to support the client server mode, the customer only need to transfer methods and paths to the server

2) requests to the client, after the server determines the URL, returns to the client to request resources, including text, pictures

3) Support form submission, using the Post method and the Get method to access the server with the help of a browser or Telnet tool

4) After the server has received the data requested by the client, it will save the data to the remote database, and the client requests to view the database information

The framework of the project

650) this.width=650; "style=" width:600px;height:258px; "src=" http://s3.51cto.com/wyfs02/M00/86/8A/ Wkiol1fdmwbdweabaagtkgaeqbg470.png-wh_500x0-wm_3-wmp_4-s_1582780700.png "title=" 10.png "border=" 0 "hspace=" 0 " Vspace= "0" width= "height=" 258 "alt=" wkiol1fdmwbdweabaagtkgaeqbg470.png-wh_50 "/>














HTTP protocol-based Web server

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.