Gist
cache MUST update cached Warning headers when receiving a
validation response
Requirements
This test clause tests the following 6 requirement(s).
- "The first digit
indicates whether the Warning MUST or MUST NOT be deleted from a
stored cache entry after a successful revalidation" (rfc2616)
- "1xx Warnings that describe the freshness or revalidation status of
the response, and so MUST be deleted after a successful
revalidation" (rfc2616)
- "2xx Warnings that describe some aspect of the entity body or entity
headers that is not rectified by a revalidation (for example, a
lossy compression of the entity bodies) and which MUST NOT be
deleted after a successful revalidation" (rfc2616)
- "The end-to-end headers stored in the cache entry are used for the
constructed response, except that ... any stored Warning headers with warn-code 1xx (see section
14.46) MUST be deleted from the cache entry and the forwarded
response" (rfc2616)
- "The end-to-end headers stored in the cache entry are used for the
constructed response, except that ... any stored Warning headers with warn-code 2xx MUST be retained
in the cache entry and the forwarded response" (rfc2616)
- "It MUST then add any Warning headers received
in the validating response" (rfc2616)
Developer notes
Note that 1xx and 2xx Warnings must be treated
differently.
Members
This test clause contains the following 11 members:
Memberships
This test clause belongs to the following 1 groups:
Internal Identifier
This test clause identifier is test_clause/rfc2616/validationUpdates-Warning. Please use that identifier when refering to this test clause.