Lecture 38
Lecture 38
Lecture 38
protocol://DNS-host-name/path-to-page
http
www.amazon.com relative to the default
file
amazon.com directory set in the
ftp
server configuration
gopher
telnet
mailto
news
Client: web-browser
Firefox Server: web-server
Mozilla Well-known service: port 80
Opera
Safari
IE
…
HTTP/1.1 200 OK
Date: Fri, 29 Apr 2005 10:43:10 GMT
Server: Apache/1.3.29 (Unix) mod_ssl/2.8.16 OpenSSL/0.9.7d PHP/4.3.10
Last-Modified: Fri, 03 Sep 2004 18:35:07 GMT
ETag: "986397-76e-4138b95b"
Accept-Ranges: bytes
Content-Length: 1902
Connection: close
Content-Type: text/html
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
…
</html>
Connection to hera.eg.bucknell.edu closed by foreign host.
…
thread thread thread thread
Front End
Web Server Host
Request Reply
(port 80)
PAYLOAD HEXDUMP:
0000000: 4854 5450 2f31 2e30 2032 3030 2044 6f63 HTTP/1.0 200 Doc
0000010: 756d 656e 7420 666f 6c6c 6f77 730a 4461 ument follows.Da
0000020: 7465 3a20 5475 652c 2032 3120 4d61 7920 te: Tue, 21 May
0000030: 3139 3936 2031 333a 3233 3a33 3020 474d 1996 13:23:30 GM
0000040: 540a 5365 7276 6572 3a20 4e43 5341 2f31 T.Server: NCSA/1
0000050: 2e35 0a43 6f6e 7465 6e74 2d74 7970 653a .5.Content-type:
0000060: 2069 6d61 6765 2f67 6966 0a4c 6173 742d image/gif.Last-
0000070: 6d6f 6469 6669 6564 3a20 4d6f 6e2c 2031 modified: Mon, 1
0000080: 3420 4175 6720 3139 3935 2031 333a 3030 4 Aug 1995 13:00
0000090: 3a30 3620 474d 540a 436f 6e74 656e 742d :06 GMT.Content-
00000a0: 6c65 6e67 7468 3a20 3138 3838 0a0a length: 1888..
PAYLOAD HEXDUMP:
0000000: 4749 4638 3961 a800 5200 f700 00ff ffff GIF89a..R.......
0000010: ffff ccff ff99 ffff 66ff ff33 ffff 00ff ........f..3....
0000020: ccff ffcc ccff cc99 ffcc 66ff cc33 ffcc ..........f..3..
0000030: 00ff 99ff ff99 ccff 9999 ff99 66ff 9933 ............f..3
0000040: ff99 00ff 66ff ff66 ccff 6699 ff66 66ff ....f..f..f..ff.
0000050: 6633 ff66 00ff 33ff ff33 ccff 3399 ff33 f3.f..3..3..3..3
0000060: 66ff 3333 ff33 00ff 00ff ff00 ccff 0099 f.33.3..........
0000070: ff00 66ff 0033 ff00 00cc ffff ccff cccc ..f..3..........
0000080: ff99 ccff 66cc ff33 ccff 00cc ccff cccc ....f..3........
0000090: cccc cc99 cccc 66cc cc33 cccc 00cc 99ff ......f..3......
00000a0: cc99 cccc 9999 cc99 66cc 9933 cc99 00cc ........f..3....
00000b0: 66ff cc66 cccc 6699 cc66 66cc 6633 cc66 f..f..f..ff.f3.f
00000c0: 00cc 33ff cc33 cccc 3399 cc33 66cc 3333 ..3..3..3..3f.33
00000d0: cc33 00cc 00ff cc00 cccc 0099 cc00 66cc .3............f.