Hypertext Transfer Protocol (HTTP) : Shweta Dubey
Hypertext Transfer Protocol (HTTP) : Shweta Dubey
Protocol (HTTP)
Shweta Dubey
WHAT IS A PROTOCOL AND HTTP?
● Protocol: A Protocol is a standard procedure for defining and regulating
communication. For example TCP, UDP, HTTP etc.
● HTTP is the foundation of data communication for the World Wide Web.
● The HTTP is the Web’s application-layer protocol for transferring various
forms of data between server and client like plaintext, hypertext, image, videos
and sounds .
HTTP
Transfer protocol used throughout the WWW
● It is a request-response protocol
● It is stateless
● Runs on top of TCP on the standardized port 80
● The format of the request and response messages is dictated by HTTP
HOW HTTP WORKS?
● HTTP is implemented in two programs: a client program and a server
program, executing on different end systems, talk to each other by exchanging
HTTP messages.
● The HTTP client first initiates a TCP connection with the server. Once the
connection is established, the browser and the server processes access TCP
through their socket interfaces.
HTTP Request Message
Overall Structure:
● Start line
● Request method
● Status line