This preview shows page 1. Sign up to view the full content.
Unformatted text preview: l.com 80 Trying 126.96.36.199... Connected to aol.com. Escape character is ’ˆ]’. GET / HTTP/1.1 host: www.aol.com Client: open connection to server Telnet prints 3 lines to the terminal HTTP/1.0 200 OK MIME-Version: 1.0 Date: Mon, 08 Jan 2001 04:59:42 GMT Server: NaviServer/2.0 AOLserver/2.3.3 Content-Type: text/html Server: expect HTML in the response body Content-Length: 42092 Server: expect 42,092 bytes in the response body
Server: empty line terminates response headers Client: Client: Client: Server: Server: request line required HTTP/1.1 header empty line terminates headers. response line followed by five response headers <html> Server: first HTML line in response body ... Server: 766 lines of HTML not shown. </html> Server: last HTML line in response body Connection closed by foreign host. Server: closes connection unix> Client: closes connection and terminates Figure 12.41: An HTTP transaction that serves static content. In line 1 we run TELNET from a Unix shell and ask it to open a connec...
View Full Document