HomeLoginHelp Factory

TEST CLAUSE INFO

Gist

cache MUST use current_age value for an Age header field

Requirements

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

  1. "When a response is generated from a cache entry, the cache MUST include a single Age header field in the response with a value equal to the cache entry's current_age" (rfc2616)
  2. "Then, when an Age value is received, it MUST be interpreted relative to the time the request was initiated, not ... the time that the response was received" (rfc2616)
  3. "The local time zone MUST NOT influence the calculation or comparison of an age or expiration time" (rfc2616)
  4. "All expiration-related calculations MUST be done in GMT" (rfc2616)

Developer notes

The algorithm in the RFC seems to count proxy-server delays twice, resulting in violations for reasonable implementations. It is possible to adjust the RFC formula to count the delay once, without making the algorithm less precise or less conservative. Co-Advisor reports expected age for both formulas.

Members

This test clause contains the following 7 members:

Memberships

This test clause belongs to the following 1 groups:

Internal Identifier

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



© The Measurement FactoryCo-Advisor  ·  2.0.0b10terms  ·  privacy