HTTP

▪︎The Hypertext Transfer Protocol is an application protocol for distributed, collaborative, hypermedia information systems that allows users to communicate data on the World Wide Web.

Purpose of HTTP:

▪︎HTTP was invented alongside HTML to create the first interactive, text-based web browser: the original World Wide Web.

▪︎Today, the protocol remains one of the primary means of using the Internet.

Working:

A▪︎s a request-response protocol, HTTP gives users a way to interact with web resources such as HTML files by transmitting hypertext messages between clients and servers.

▪︎HTTP clients generally use Transmission Control Protocol (TCP) connections to communicate with servers.

HTTP utilizes specific request methods in order to perform various tasks:

▪︎GET requests a specific resource in its entirety

▪︎HEAD requests a specific resource without the body content.

▪︎DELETE gets rid of a specified resource

▪︎TRACE shows users any changes or additions made to a web resource

▪︎OPTIONS shows users which HTTP methods are available for a specific URL

▪︎CONNECT converts the request connection to a transparent TCP/IP tunnel.

Advantages:

▪︎It offers lower CPU and memory usage due to less simultaneous connections.

▪︎It reports errors without closing the TCP connection.

Disadvantages:
▪︎It can be used for point to point connection.
▪︎It is not optimized for mobile.
▪︎It does not have push capabilities.
▪︎It is too verbose.

Posted on by