Loading presentation...

Present Remotely

Send the link below via email or IM


Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.


Hyper-Text Transfer Protocol

This material is prepared for the students attending "Computer Networks" to help them better understand the hyper text transfer protocol. The original version was deleted by mistake.

Kyungran KANG

on 25 April 2014

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Hyper-Text Transfer Protocol

Hyper Text Transfer Protocol
Interaction between client and server
Connection management

Web cache
A text displayed on a computer display or other electronic device with references (hyperlinks) to other text
Interaction between client and server
HTTP server is waiting for TCP connection at port 80.
HTTP client sends HTTP request message (containing URL) into TCP connection socket.
HTTP server forms response message containing requested object.
Non-persistent connection
At most one object sent over TCP connection and then the connection is closed.
Downloading multiple objects required multiple connections.
Browsers often open parallel TCP connections to fetch referenced objects.
Cookies allow web sites to keep track of users.
The web server serves content as a function of user identity.
This is a test page.
It has an embedded image <img src="images/a.gif"> and <a href="images/a.gif"> a link </a> to an image.
You can access the image by clicking the link.
GET /index.html HTTP/1.1\r\n
Host: www-net.cs.umass.edu\r\n
User-Agent: Firefox/3.6.10\r\n
Accept: text/html,application/xhtml+xml\r\n
Accept-Language: en-us,en;q=0.5\r\n
Accept-Encoding: gzip,deflate\r\n
Accept-Charset: ISO-8859-1,utf-8;q=0.7\r\n
Keep-Alive: 115\r\n
Connection: keep-alive\r\n

HTTP/1.1 200 OK\r\n
Date: Sun, 26 Sep 2010 20:09:20 GMT\r\n
Server: Apache/2.0.52 (CentOS)\r\n
Last-Modified: Tue, 30 Oct 2007 17:00:02 GMT\r\n
ETag: "17dc6-a5c-bf716880"\r\n
Accept-Ranges: bytes\r\n
Content-Length: 2652\r\n
Keep-Alive: timeout=10, max=100\r\n
Connection: Keep-Alive\r\n
Content-Type: text/html; charset=ISO-8859-1\r\n
data data data data data ...

Web cache
A web cache (proxy server) is a network entity that satisfies HTTP requests on behalf of an origin web server.
It has its own disk storage and keep copies of recently requested object in that storage.
The servers are asked to return the document, either the “cached” or “live” document.

- non-persistent connection
Full transcript