The 1.web server (HTTP Server) uses the HTTP protocol, which stores data from the Internet and provides the appropriate data when the client makes a request. The HTTP client and HTTP server together form the basic components of the World Wide Web.
2. Resources: A static resource in the Web server file system, a software program that needs to generate content.
3. Media type: MIME type is a text marker that represents a primary object type and a subtype of a feature, divided by a slash in the middle. (Object type: Displays a picture file, parses a formatted HTML file, plays an audio file through a computer's sound card, and so on.) )
4.URI: The name of the resource. The server resource is called the Uniform Resource Identifier URI. URIs are available in two forms, URLs and urns.
5.URL: Uniform Resource Identifier. such as: Https://①i.cnblogs.com/②index.html③
① protocol Type ② server's Internet address ③web A resource on the server
6.URN: Uniform Resource name.
7. Transaction: consists of a request command sent from the client to the server and a response from the server back to the client.
8. Method: HTTP supports several different request commands, which are called HTTP methods. Each HTTP request message contains a method. 5 Common methods:GET PUT DELETE POST HEAD . ( These 5 methods are described later in the study .) )
9. Status code: The function is to tell the client that the request is successful. Such as: 200 successes, 404 Not Found.
10. Message: Divided into request message and response message. The message consists of three parts: the start line, the header field, and the body. ( in the later study will be introduced in detail.) )
11.tcp/ip:http is the application layer protocol. There is no need to worry about the specifics of network communication, it will give the networking details to the Internet Transport protocol TCP/IP. The function is to ensure that the message exchange between client and server is error-free, sequential transmission.
Http->tcp->ip-> Network-specific link interface, physical network hardware
12. Connection, IP address and port number: Before the HTTP client sends a message to the server, a TCP/IP connection between the client and the server needs to be established with the network protocol IP address and port number.
13.Telnet Program: The keyboard can be connected to a target TCP port and the output of this TCP port is echoed to the display. It is often used for remote terminal sessions, but he can connect almost all TCP servers, including HTTP servers.
14.WEB structure Component: Proxy: The HTTP intermediate entity between the predicate client and the server. (in the later study will be introduced in detail.) )
Cache: The repository of HTTP, so that copies of frequently used pages can be kept closer to the client. (in the later study will be introduced in detail.) )
Gateway: A special Web server that connects other applications. Used as an intermediary entity for other servers. Typically used to convert HTTP traffic to other protocols. (in the later study will be introduced in detail.) )
Tunnel: A special agent for blind forwarding of HTTP communication messages.
Agent Agent: Semi-intelligent web client that initiates an automatic HTTP request. (in the later study will be introduced in detail.) )
①②③④④⑥⑦⑤⑧⑨⑩
HTTP Authoritative Guide-http overview