Home  >  Article  >  http is a protocol mainly used for encryption, right?

http is a protocol mainly used for encryption, right?

(*-*)浩
(*-*)浩Original
2019-12-24 10:55:478088browse

http is a protocol mainly used for encryption, right?

#http is a simple request-response protocol that usually runs on top of TCP. It specifies what kind of messages the client may send to the server and what kind of response it gets.

The headers of request and response messages are given in ASCII code form; while the message content has a MIME-like format. This simple model was instrumental in the early success of the Web because it made development and deployment so straightforward. (Recommended study: phpstorm)

The World Wide Web WWW (world wide web) originated from CERN, the quantum physics laboratory in Geneva, Europe. It is the emergence of WWW technology that enables the Internet to reach unimaginable speeds. develop.

This TCP/IP-based technology has quickly become the largest information system on the Internet that has been developed for decades in just ten years. Its success is attributed to its simplicity and practicality. .

Behind WWW, there are a series of protocols and standards that support it in completing such a grand work. This is the Web protocol family, which includes the HTTP Hypertext Transfer Protocol.

In 1990, HTTP became the supporting protocol of the WWW.

It was proposed by its founder Tim Bemers-Lee, the father of WWW, and then the WWW Consortium (WWW Consortium) was established to organize the IETF (Internet Engineering Task Force) The group further refines and publishes the HTTP protocol.

HTTP is an application layer protocol. Like other application layer protocols, it is a protocol for implementing a certain type of specific application and is implemented by an application running in user space. Function.

HTTP is a protocol specification. This specification is recorded in the document and is the implementation program of HTTP that actually communicates through the HTTP protocol.

The HTTP protocol communicates based on the C/S architecture. The server-side implementation programs of the HTTP protocol include httpd, nginx, etc. The client-side implementation programs are mainly web browsers, such as Firefox and Internet Explorer. , Google chrome, Safari, Opera, etc.

In addition, the client’s command line tools include elink, curl, etc.

Web service is based on TCP, so in order to respond to client requests at any time, the Web server needs to listen on port 80/TCP. The client browser and the web server can communicate through the HTTP protocol.

The above is the detailed content of http is a protocol mainly used for encryption, right?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn