For reference we also include the complete sources

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: for over 99% of HTTP requests [75]. The GET method instructs the server to generate and return the content identified by the URI (Uniform Resource Identifier). The URI is the suffix of the corresponding URL that includes the file name and optional arguments. 1 Actually, this is only true when a browser requests content. If a proxy server requests content, then the URI must be the complete URL. 1 650 CHAPTER 12. NETWORK PROGRAMMING The <version> field in the request line indicates the HTTP version that the request conforms to. The current version is HTTP/1.1 [25]. HTTP/1.0 is a previous version from 1996 that is still in use [3]. HTTP/1.1 defines additional headers that provide support for advanced features such as caching and security, as well as a (seldom used) mechanism that allows a client and server to perform multiple transactions over the same persistent connection. In practice, the two versions are compatible because HTTP/1.0 clients and servers simply ignore unknown HTTP/1.1 headers. In sum, the request line in line 5 asks the server to fetch and return the HTML...
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