"HTTP Authoritative guide" learning Tour One

Source: Internet
Author: User

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

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.