tor 2007-01-18 klockan 12:05 +0100 skrev Plüm, Rüdiger, VF EITO:

> Just curious: Is the Unix epoch an invalid date in the Expires header
> (as this in the past it does not really matter for the question whether
> this document is expired or not as it would be in both cases)?

The RFC does not care for the UNIX epoch.

Any valid date which can be represented in the textual form is a valid
Expires header. And any Expires header you can not understand for
whatever reason is "already expired in the past".

To solve this there is Cache-Control max-age which is not sensitive to
the limits of your internal time representation, and which overrides
Expires if present.

Regards
Henrik

Attachment: signature.asc
Description: Detta är en digitalt signerad meddelandedel

Reply via email to