Essay 1
Transaction:
An HTTP transaction consists of a request command (sent from the client to the server) and a response result (sent back from the server to the client)
Method:
HTTP supports several different request commands, which are called HTTP methods (HTTP method). Every
HTTP request message contains a method. This method tells the server what action to perform (get
A Web page, running a gateway program, deleting a file, and so on).
Status code:
Each HTTP response message will carry a status code when it returns. The status code is a three-digit code,
Tells the client whether the request was successful, or whether additional actions are required. Table 1-3 shows a few common
Status code
HTTP structure of request and response messages:
An HTTP message is made up of a simple string of rows. HTTP messages are plain text, not binary
System code
The HTTP message sent from the Web client to the Web server is called the request message. From
The message sent to the client by the server is called a response message (response message)
Tcp / ip
The internet itself is based on TCP/IP, TCP/IP is a common level of computer and network equipment all over the world
Packet switched network protocol set
HTTP Network protocol stack
Basic Browser Connection Processing
The steps are as follows:
(a) The browser resolves the host name of the server from the URL;
(b) The browser converts the host name of the server to the IP address of the server;
(c) The browser parses the port number (if any) from the URL;
(d) The browser establishes a TCP connection to the Web server;
(e) The browser sends an HTTP request message to the server;
(f) The server sends an HTTP response message back to the browser;
(g) Close the connection and the browser displays the document.
Web structural components of:
• Agent
An HTTP intermediate entity located between the client and the server.
• Cache
HTTP repositories, so that copies of frequently used pages can be kept closer to the client.
• Gateways
A special Web server that connects other applications.
• Tunnels
A special agent for blind forwarding of HTTP communication messages.
Agent Agent
Semi-intelligent Web client that initiates an automatic HTTP request.
Provides an overview of how HTTP uses URIs to name multimedia resources on remote servers, and describes how HTTP request and response messages can be used to manipulate multimedia resources on remote servers.
"HTTP Authoritative guide" learning Tour One