07-Project_1_Discussion

07-Project_1_Discussion - 1 CSE 421/521 Operating Systems...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

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: 1 CSE 421/521 - Operating Systems Fall 2011 Tevfik Ko ş ar University at Buffalo September 20 th , 2011 Lecture - VII Project - I Discussion An HTTP Request • <command> <argument> <HTTP version> • <optional arguments> • <blank line> • GET /index.html HTTP/1.0 2 Server Response • <HTTP version> <status code> <status message> • <additional information> • <a blank line> • <content> • HTTP/1.1 200 OK Date: Thu, 06 Nov 2008 18:27:13 GMT Server: Apache Content-length: ...... <HTML><HEAD><BODY> .... 3 Example $ telnet www.cnn.com 80 Trying 64.236.90.21... Connected to www.cnn.com . Escape character is '^]'. GET /index.html HTTP/1.0 HTTP/1.1 200 OK Date: Thu, 06 Nov 2008 18:27:13 GMT Server: Apache Accept-Ranges: bytes Cache-Control: max-age=60, private Expires: Thu, 06 Nov 2008 18:28:14 GMT Content-Type: text/html Vary: Accept-Encoding,User-Agent Connection: close <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http:// www.w3.org/TR/html4/loose.dtd "><html lang="en"><head><title>CNN.com - 4 Basics of a Server (Web, FTP ..etc) 1. Listen to a Network port 2. Interpret incoming messages (requests)2....
View Full Document

{[ snackBarMessage ]}

Page1 / 3

07-Project_1_Discussion - 1 CSE 421/521 Operating Systems...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online