17 category 3 build a concurrent t iny server based

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: l.com 80 Trying 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

This note was uploaded on 09/02/2010 for the course ELECTRICAL 360 taught by Professor Schultz during the Spring '10 term at BYU.

Ask a homework question - tutors are online