0% found this document useful (0 votes)
9 views

Mod 5 - Part-6 - HTTP

Uploaded by

ishikaprail
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Mod 5 - Part-6 - HTTP

Uploaded by

ishikaprail
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

HTTP

HTTP or Hypertext transport protocol is a simple request response protocol that normally
runs over TCP. It specifies what messages clients may sent to servers and what responses they
get back in return. The request and response headers are given in the ASCII. The contents are
given in a ‘MIME’ like format.
This simple model was partially responsible for the early success of the web because it
made development and deployment straight forward. HTTP is an application layer protocol
because it runs on top of TCP and is closely associated with the web. However in another sense
HTTP is becoming more like a transport layer protocol that provides a way for processes to
communicate content across the boundaries of different networks. For eg., an antivirus software
could use HTTP to download the latest updates.
The usual way for a browser to contact a web server is to establish a TCP connection to
port 80 on the servers machine. The value of using TCP is that neither browsers nor servers have
to worry about how to handle long messages, reliability, or congestion control. All of these
matters are handled by the TCP implementation.
With HTTP 1.0, after the connection was established a single request was sent over and a
single response was sent back. Then the TCP connection was released. This was an expensive
operation and HTTP 1.1 evolved, which supported persistent connections. With them, it is
possible to establish a TCP connection, send a request and get a response, and then send
additional requests and get additional responses. This strategy is also called connection reuse. It
was also possible to pipeline requests.
HTTP supports methods, which are operations used for other than just requesting a Web
page.

You might also like