W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2004

Meaning of header fields Date: and Age:

From: Greg Robson-Garth <gregrg@optusnet.com.au>
Date: Tue, 6 Jul 2004 06:53:30 -0400 (EDT)
Message-Id: <200407061053.i66ArNJ05077@mail002.syd.optusnet.com.au>
To: <ietf-http-wg@w3.org>
What do these fields mean ?


According to "the spec", RFC2616 the Date header is the date/time the
message was generated at the origin server.


1. Date

In a cache server, assuming the message is now resident in the cache and has
been requested by a HTTP client. Should the cache server send with message


a)       the Date header as it received it from the origin server

b)       generate a new Date header being the date/time the message is sent
from the cache and calculate the age as the residence time


2. Age

Does the Age header represent the seconds relative to the date/time in the
date header. So if the Age is say Age: 60 and the time is 03:00:00, then its
birth time (for a want of a better word) is 02:59:00. If this is the case,
then surely the correct calculation of corrected_received_age in 13.2.3
should be


            now - date_value + age_value


Can anyone comment ?



Author, FreeProxy
Received on Tuesday, 6 July 2004 08:10:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:13:25 UTC