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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

; the name or pseudonym of the server adding; the Warning header, <strong>for</strong> use in debuggingwarn-text = quoted-stringwarn-date = A response MAY carry more than one Warning header.The warn-text SHOULD be in a natural language and character set thatis most likely to be intelligible to the human user receiving theresponse. This decision MAY be based on any available knowledge, suchas the location of the cache or user, the Accept-Language field in arequest, the Content-Language field in a response, etc. The defaultlanguage is English and the default character set is ISO-8859-1.If a character set other than ISO-8859-1 is used, it MUST be encodedin the warn-text using the method described in RFC 2047 [14].Warning headers can in general be applied to any message, howeversome specific warn-codes are specific to caches and can only beapplied to response messages. New Warning headers SHOULD be addedafter any existing Warning headers. A cache MUST NOT delete anyWarning header that it received with a message. However, if a cachesuccessfully validates a cache entry, it SHOULD remove any Warningheaders previously attached to that entry except as specified <strong>for</strong><strong>Fielding</strong>, et al. Standards Track [Page 148]RFC <strong>2616</strong> HTTP/1.1 June 1999specific Warning codes. It MUST then add any Warning headers receivedin the validating response. In other words, Warning headers are thosethat would be attached to the most recent relevant response.When multiple Warning headers are attached to a response, the useragent ought to in<strong>for</strong>m the user of as many of them as possible, in theorder that they appear in the response. If it is not possible toin<strong>for</strong>m the user of all of the warnings, the user agent SHOULD followthese heuristics:- Warnings that appear early in the response take priority overthose appearing later in the response.- Warnings in the user's preferred character set take priorityover warnings in other character sets but with identical warncodesand warn-agents.Systems that generate multiple Warning headers SHOULD order them with

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

Saved successfully!

Ooh no, something went wrong!