HomeLoginHelp Factory

TEST CLAUSE INFO

Gist

cache MUST NOT use a cached entry with mismatched request headers under Vary control

Requirements

This test clause tests the following 2 requirement(s).

  1. "When the cache receives a subsequent request whose Request-URI specifies one or more cache entries including a Vary header field, the cache MUST NOT use such a cache entry to construct a response to the new request unless all of the selecting request-headers present in the new request match the corresponding stored request-headers in the original request" (rfc2616)
  2. "If the selecting request header fields for the cached entry do not match the selecting request header fields of the new request, then the cache MUST NOT use a cached entry to satisfy the request unless it first relays the new request to the origin server in a conditional request and the server responds with 304 (Not Modified), including an entity tag or Content-Location that indicates the entity to be used" (rfc2616)

Members

This test clause contains the following 14 members:

  • cache MUST revalidate when stored request headers under Vary control mismatch 2nd request headers, and "*" Vary header was used (test_case/rfc2616/varyMismatch-wild)
  • cache MUST revalidate when stored request headers under Vary control mismatch 2nd request headers; using "Vary: User-Agent" and no corresponding 1st request header (test_case/rfc2616/varyMismatch-1-0-1-User-Agent)
  • cache MUST revalidate when stored request headers under Vary control mismatch 2nd request headers; using "Vary: User-Agent" and no corresponding 2nd request header (test_case/rfc2616/varyMismatch-1-1-0-User-Agent)
  • cache MUST revalidate when stored request headers under Vary control mismatch 2nd request headers; using "Vary: User-Agent" and corresponding request headers (test_case/rfc2616/varyMismatch-1-1-1-User-Agent)
  • cache MUST revalidate when stored request headers under Vary control mismatch 2nd request headers; using "Vary: X-Case-Foo" and corresponding request header values with mismatched case (test_case/rfc2616/varyMismatch-1-1-1-X-Case-Foo)
  • cache MUST revalidate when stored request headers under Vary control mismatch 2nd request headers; using 2 Vary headers and corresponding 1-valued request headers with one missing header value in the 2nd request (test_case/rfc2616/varyMismatch-2-2x1-2x1-m1)
  • cache MUST revalidate when stored request headers under Vary control mismatch 2nd request headers; using 2 Vary headers and corresponding 1-valued request headers with one mismatching header value in the 2nd request (test_case/rfc2616/varyMismatch-2-2x1-2x1-d1)
  • cache MUST revalidate when stored request headers under Vary control mismatch 2nd request headers; using 2 Vary headers and corresponding 1-valued request headers with one extra header value in the 2nd request (test_case/rfc2616/varyMismatch-2-2x1-2x1-p1)
  • cache MUST revalidate when stored request headers under Vary control mismatch 2nd request headers; using 2 Vary headers and corresponding 2-valued request headers with one missing header value in the 2nd request (test_case/rfc2616/varyMismatch-4-2x2-2x2-m1)
  • cache MUST revalidate when stored request headers under Vary control mismatch 2nd request headers; using 2 Vary headers and corresponding 2-valued request headers with one mismatching header value in the 2nd request (test_case/rfc2616/varyMismatch-4-2x2-2x2-d1)
  • cache MUST revalidate when stored request headers under Vary control mismatch 2nd request headers; using 2 Vary headers and corresponding 2-valued request headers with one extra header value in the 2nd request (test_case/rfc2616/varyMismatch-4-2x2-2x2-p1)
  • cache MUST revalidate when stored request headers under Vary control mismatch 2nd request headers; using 4 Vary headers and corresponding 4-valued request headers with one missing header value in the 2nd request (test_case/rfc2616/varyMismatch-16-4x4-4x4-m1)
  • cache MUST revalidate when stored request headers under Vary control mismatch 2nd request headers; using 4 Vary headers and corresponding 4-valued request headers with one mismatching header value in the 2nd request (test_case/rfc2616/varyMismatch-16-4x4-4x4-d1)
  • cache MUST revalidate when stored request headers under Vary control mismatch 2nd request headers; using 4 Vary headers and corresponding 4-valued request headers with one extra header value in the 2nd request (test_case/rfc2616/varyMismatch-16-4x4-4x4-p1)

Memberships

This test clause belongs to the following 2 groups:

Internal Identifier

This test clause identifier is test_clause/rfc2616/varyMismatch. Please use that identifier when refering to this test clause.



© The Measurement FactoryCo-Advisor  ·  2.0.0b10terms  ·  privacy