It maintains backward compatibility with HTTP 1.1 but offers additional performance enhancements.
How HTTP Works
HTTP is an program layer protocol built on top ofTCPthat uses aclient-server communicationmodel.
HTTP clients and servers communicate through request and response messages.
The three main HTTP message types are GET, POST, and HEAD.
The online window initiates communication with an HTTP server by initiating a TCP connection to the server.
HTTP is what’s called astateless system.
So, after your web surfing app sends the request and theserverresponds with the page, the connection closes.
Errors begin with a certain number to indicate what kind of error it is.