What is the http protocol?
The http (of the English HyperText Transfer Protocol or Protocol of Transfer of Hiper Textos) is the protocol of transmission of information of the World Wide Web , that is to say, the code that is established so that the applicant computer and the one that contains the requested information can “Speak” the same language when transmitting information through the network .
With the http criteria of syntax and computer semantics are established (form and meaning) for the establishment of communication between the different elements that make up the web architecture: servers, clients, proxies. It was created in 1999 by the World Wide Web Consortium in collaboration with the Internet Engineering Task Force.
It is a “stateless” protocol, that is, it does not record previous visits but it always starts again. The information related to previous visits is stored in these systems in the so-called “cookies”, stored in the client system .
The http has gone through numerous versions until reaching the current one at the beginning of the 21st century, called HTTP / 2 . His first attempts were made in 1991 and they released partial versions in 1996, 1999, 2000 and, finally, the current one in 2015.
See also: FTP .
What is the http protocol for?
The http, as has been said, is a language that mediates between the requests of the client and the responses of the server on the Internet , to allow a fluid communication and in the same “language”. This protocol establishes the guidelines to follow, the methods of request (called “verbs”) and has a certain flexibility to incorporate new requests and functionalities, especially as the versions are advanced.
Considering that the Internet is little more than a complex network of information exchange between remote computers, this type of digital tools are key in establishing the bases to organize and facilitate the transmission of information.
How does the http protocol work?
The operation of the http is based on a request-response scheme between the web server and the “user agent” ( user agent ) or client that makes the request for data transmission . A client can be a specific browser, when we try to open a web page , or web crawlers ( webcrawlersor web spiders) that inspect them.
The server provides a structured response in a timely manner and provided with a series of metadata, which establish the guidelines for the start, development and closure of the transmission of information. These are the “request methods”, that is, the commands that trigger the execution of certain resources, whose files reside on the server.
For example : When opening a specific web page, the informative exchange between our web browser and the server where the information resides will establish how the information should be transmitted, where the images are and in what order they will be shown to me, etc. This exchange of request commands and response codes results in the representation on my computer of the same information originally contained on the server, which may be thousands of kilometers away.
What is https?
By https is understood HyperText Transfer Procotol Secure or Secure Hypertext Transfer Protocol , which is nothing more than the secure version of the http , that is, a variant of the same protocol that is based on the creation of an encrypted channel for the transmission of the information, which makes it more appropriate for certain sensitive data (such as keys and personal users).
Unlike http, the https is protected against the intervention of third parties that can spy on the exchange of information or obtain data from it, through the use of “network layers” that allow only the server and the client to encrypt and decrypt the information sent through the previous exchange of network certificates, a kind of initial validation of trust to establish the transfer of information.