11.07.2015 Views

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The Upgrade header field only applies to the immediate connection.There<strong>for</strong>e, the upgrade keyword MUST be supplied within a Connectionheader field (section 14.10) whenever Upgrade is present in anHTTP/1.1 message.<strong>Fielding</strong>, et al. Standards Track [Page 144]RFC <strong>2616</strong> HTTP/1.1 June 1999The Upgrade header field cannot be used to indicate a switch to aprotocol on a different connection. For that purpose, it is moreappropriate to use a 301, 302, 303, or 305 redirection response.This specification only defines the protocol name "HTTP" <strong>for</strong> use bythe family of Hypertext Transfer Protocols, as defined by the HTTPversion rules of section 3.1 and future updates to thisspecification. Any token can be used as a protocol name; however, itwill only be useful if both the client and server associate the namewith the same protocol.14.43 User-AgentThe User-Agent request-header field contains in<strong>for</strong>mation about theuser agent originating the request. This is <strong>for</strong> statistical purposes,the tracing of protocol violations, and automated recognition of useragents <strong>for</strong> the sake of tailoring responses to avoid particular useragent limitations. User agents SHOULD include this field withrequests. The field can contain multiple product tokens (section 3.8)and comments identifying the agent and any subproducts which <strong>for</strong>m asignificant part of the user agent. By convention, the product tokensare listed in order of their significance <strong>for</strong> identifying theapplication.User-Agent = "User-Agent" ":" 1*( product | comment )Example:User-Agent: CERN-LineMode/2.15 libwww/2.17b314.44 VaryThe Vary field value indicates the set of request-header fields thatfully determines, while the response is fresh, whether a cache ispermitted to use the response to reply to a subsequent requestwithout revalidation. For uncacheable or stale responses, the Varyfield value advises the user agent about the criteria that were usedto select the representation. A Vary field value of "*" implies that

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!