|
From: | Jason Rumney |
Subject: | Re: make standard If-Modified-Since headers |
Date: | Wed, 27 Feb 2008 22:39:08 +0000 |
User-agent: | Thunderbird 2.0.0.12 (Windows/20080213) |
Jason Rumney wrote:
IIRC, only a small subset of timezone names are allowed in HTTP headers, so %z would be better than %Z, or alternatively hardcode GMT:
In fact, RFC2616 (3.3.1) states: "All HTTP date/time stamps MUST be represented in Greenwich Mean Time (GMT), without exception. For the purposes of HTTP, GMT is exactly equal to UTC (Coordinated Universal Time)."
So hardcoding GMT here is correct.
[Prev in Thread] | Current Thread | [Next in Thread] |