This preview shows page 1. Sign up to view the full content.
Unformatted text preview: for over 99% of HTTP requests . The GET method instructs the server to generate and return the content identiﬁed by the URI (Uniform Resource Identiﬁer). The URI is the sufﬁx of the corresponding URL that includes the ﬁle 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> ﬁeld in the request line indicates the HTTP version that the request conforms to. The current version is HTTP/1.1 . HTTP/1.0 is a previous version from 1996 that is still in use . HTTP/1.1 deﬁnes 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.
- Spring '10
- The American