Full form of HTTP
HTTP stands for Hyper Text Transfer Protocol.
It is an application protocol which used for data communication. HTTP is invented by Tim Berner. It is used to transfer the hypertext between the two computers.
To exchange and access the information over the internet, HTTP provides standard for web browsers. For accessing any page or file or doc it is used by most of the websites. In client-server communication model, it is a request-response protocol. It is an application layer protocol which is used for transferring data like, images, text and other multimedia files from one computer to another.
What is Hypertext
Hypertext is such a type of text which contains a link within it. For example, On a webpage if you click on a word and it redirected to the another page, so it is called you clicked on a hypertext.
How HTTP works
At first, when we want to open any website to access particular page or file then we have to open a web browser and after that we will enter the URL of that website (e.g. www.digitalclassworld.com ). Now this URL is sent to DNS (Domain Name Server). And DNS will check all the records for that particular URL into database. After checking the records, DNS will return IP address to the browser identical to that URL. Now browser can send request to the actual server.
The connection will close after the server send data to the client. And we have to re-establish the connection between client and server, when we want something else from server.
Advantages
Because of its less simultaneous connection, the CPU and memory usage are low.
Without closing the connections, the error can be reported.
It allows pipe-lining of request and response.
It can use any web browser.
Disadvantages
To establish connection and transferring data, HTTP requires high power.
Less secure, because it doesn’t use encryption method so users can get privacy threat.
Not optimized for cellular phone.
It does not offer valid exchange of data.
Client can’t close the established connection until it receives complete data from the server.