HyperText Transfer Protocol

·

3 min read

What is HTTP

Whenever you decide to check out your friends' pictures on social networks or leave them a message, watch a funny video with kittens, or find the meaning of an unknown term in the search engine, the device (client) from which you surf the Internet sends a request to the server and receives a response from it.

A client is a customer of a service, and a server is a computer that serves users or other computers. It can be located remotely, tens of thousands of kilometers away from you. The technology when the network load is distributed between servers and service customers is called Client-Server Architecture.

Image description

Data exchange between the client and the server takes place due to the HTTP. HTTP stands for HyperText Transfer Protocol. A protocol is a set of rules and conventions that defines a uniform way to exchange data between different programs and handle errors. A Protocol is a set of specific rules by which programs or devices communicate with each other. Like a waiter in a restaurant, it accepts your requests, takes them to the server for processing, and then comes back to you with a response.

Short HTTP History

HTTP was developed by a scientist and CERN employee Tim Berners-Lee, the ideologist of the World Wide Web.

Work on the protocol continued for two years, and in March 1991, HTTP was used as a technology to help access documents on the Internet and facilitate hypertext navigation. This was Protocol version 0.9. It was designed to optimize communication between the client and the server on the network. After the appearance of the HTTP/0.9 standard, a separation of functions between the client and the server appeared during their interaction.

Currently, the most recent version of the Protocol is HTTP/3.0, but it is still preparing for publication. So, for now, the most common version is HTTP/2.0, released in 2015. Prior to that, HTTP/1.1 (released in 1999) was used for as long as sixteen years. This standard satisfied everyone for many years because of its innovations: with the advent of HTTP/1.1, the transfer of requests from client to server was greatly accelerated.

Not all sites have switched to HTTP/2 yet, but browsers support both new and old standards.

What is HTTPS

Despite the great functionality and popularity of HTTP, there is one drawback: data is transmitted in an unsecured form. This flaw can be critical when it comes to paying for purchases over the Internet or sending passport data: no user wants their confidential information to be leaked.

To make the Internet space safer, the programmers decided to develop an add-on over HTTP, which helps to avoid data interception by encryption. The HTTP extension is called HTTPS and stands for HyperText Transfer Protocol Secure.

HTTPS provides a secure connection between the user's browser and the web server. Often, the browser window displays a green address bar or lock indicating encrypted data transfer. You can also check the address bar of your web browser to see if you have a secure connection. It should start with "https://".

Image description

All modern browsers support HTTPS. Internet users do not need to configure this extension separately: it is automatically enabled if necessary.

At the current moment, the most popular browsers such as Chrome, Firefox, Safari, and Edge mark all connections over HTTP as insecure.

Conclusion

In summary, HyperText Transfer Protocol is a collection of regulations that makes possible the data exchange between the client and the server on the network. The latest version of the protocol is HTTP/2.0, yet the older version, HTTP/1.1, is still in use. An extension of the protocol HTTPS added encryption to data transfer and increased the security of transmissions