Open In App

HTTP Full Form

HTTP stands for HyperText Transfer Protocol. Tim Berner invents it. HyperText is the type of text that is specially coded with the help of some standard coding language called HyperText Markup Language (HTML). HTTP/2 is the new version of HTTP. HTTP/3 is the latest version of HTTP, which is published in 2022.

The protocol used to transfer hypertext between two computers is known as HyperText Transfer Protocol. 
HTTP provides a standard between a web browser and a web server to establish communication. It is a set of rules for transferring data from one computer to another. Data such as text, images, and other multimedia files are shared on the World Wide Web. Whenever a web user opens their web browser, the user indirectly uses HTTP. It is an application protocol that is used for distributed, collaborative, hypermedia information systems. 



Working of HTTP

First of all, whenever we want to open any website then first open a web browser after that we will type the URL of that website (e.g., www.facebook.com ). This URL is now sent to the Domain Name Server (DNS). Then DNS first check records for this URL in their database, then DNS will return the IP address to the web browser corresponding to this URL. Now the browser is able to send requests to the actual server. 

After the server sends data to the client, the connection will be closed. If we want something else from the server we should have to re-establish the connection between the client and the server. 



HTTP Connection

HTTP Request

HTTP request is simply termed as the information or data that is needed by Internet browsers for loading a website. This is simply known as HTTP Request.

There is some common information that is generally present in all HTTP requests. These are mentioned below.

HTTP Request Headers

HTTP Request Headers generally store information in the form of key-value and must be present in each HTTP Request. The use of this Request Header is to provide core information about the client’s information, etc.

HTTP Request Body

HTTP Request Body simply contains the information that has to be transferred. HTTP Request has the information or data to be sent to these browsers. 

HTTP Method

HTTP Methods are simply HTTP Verb. In spite of being present so many HTTP Methods, the most common HTTP Methods are HTTP GET and HTTP POST. These two are generally used in HTTP cases. In HTTP GET, the information is received in the form of a website.

For more, refer to the Difference Between HTTP GET and HTTP POST.

HTTP Response

HTTP Response is simply the answer to what a Server gets when the request is raised. There are various things contained in HTTP Response, some of them are listed below.

HTTP Response

HTTP Response Headers

HTTP Response headers are simply like an HTTP Request where it has that work to send some important files and data to the HTTP Response Body.

HTTP Response Body

HTTP Responses are the responses that are received successfully upon the request. Generally, it comes under the requests generated by the web. In most cases, the request is of transferring the HTML data into a webpage.

HTTP Status Code

HTTP Status Codes are the 3-Digit codes that tell the message or simply tell us about the HTTP Request whether it has been completed or not. There are simply 5 types of status codes.

For more, refer to HTTP Status Codes.

History of HTTP

Tim Berners Lee and his team at CERN get credit for inventing original HTTP and associated technologies. 

Characteristics of HTTP

HTTP is IP based communication protocol that is used to deliver data from server to client or vice-versa. 

Advantages of HTTP

Disadvantages of HTTP

Cookies in HTTP

An HTTP cookie (web cookie, browser cookie) is a little piece of data that a server transmits to a user’s web browser. When making subsequent queries, the browser may keep the cookie and transmit it back to the same server. An HTTP cookie is typically used, for example, to maintain a user’s login state, to determine whether two requests originate from the same browser. For the stateless HTTP protocol, it retains stateful information.

HTTP status code

Three-digit codes known as HTTP status codes are most frequently used to show if an HTTP request has been fulfilled successfully. The five blocks below represent the breakdown of status codes:

Different numbers between 00 and 99 are denoted by the “xx”. Status codes that begin with “2” denote a successful outcome. For instance, the most typical answers sent after a client requests a webpage have a status code of “200 OK,” which denotes that the request was successfully fulfilled.

Is it possible to launch DDoS assaults over HTTP?

Remember that because HTTP is a “stateless” protocol, every command executed over it operates independently of every other operation. Each HTTP request opened and terminated a TCP connection according to the original specification. Multiple HTTP requests can now flow over a persistent TCP connection in HTTP 1.1 and later versions of the protocol, which improves resource use. Large-scale HTTP requests are regarded as application layer or layer 7 attacks in the context of DoS or DDoS attacks, and they can be used to mount an attack on a target device.

Frequently Asked Question on HTTP – FAQs

What is HTTP?

HTTP stands for HyperText Transfer Protocol. Tim Berner invents it. HyperText is the type of text which is specially coded with the help of some standard coding language called HyperText Markup Language (HTML).

What is the difference between HTTPS and HTTP?

HTTPS is the secure version of HTTP. It adds a security layer to the Hyper Text Tranfer Protocol.

Is HTTP is stateful or stateless protocol?

HTTP is the stateless protocol that means it does not maintain any state or store any information.

What is the port number of HTTP and HTTPS?

The default port number of Hyper Text Transfre Protocol(HTTP) is 80 and for Hyper Text Transfer Protocol Secure(HTTPS) is 443.

What is the role of cookies in HTTP?

Cookies are the small units of data that are stored on client side rather than server side they are used to maintain information.


Article Tags :