[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make standard If-Modified-Since headers
From: |
Robert J. Chassell |
Subject: |
Re: make standard If-Modified-Since headers |
Date: |
Thu, 28 Feb 2008 02:31:05 +0000 (UTC) |
Most HTTP date/time stamps use the numeric form which in this
symbolism has a small z, %z.
For example, Ted Zlatanov wrote on
Date: Wed, 27 Feb 2008 16:45:26 -0600
Even when (system-time-locale "C") produces UTC, it would make sense
to provide
(defun url-get-normalized-date (&optional specified-time)
"Return a 'real' date string that most HTTP servers can understand."
(let ((system-time-locale "C"))
(format-time-string "%a, %d %b %Y %T %z"
(or specified-time (current-time)) t)))
--
Robert J. Chassell GnuPG Key ID: 004B4AC8
address@hidden address@hidden
http://www.rattlesnake.com http://www.teak.cc
- Re: RSS If-Modified-Since, Ted Zlatanov, 2008/02/15
- make standard If-Modified-Since headers, jidanni, 2008/02/26
- Re: make standard If-Modified-Since headers, Ted Zlatanov, 2008/02/27
- Re: make standard If-Modified-Since headers, Thien-Thi Nguyen, 2008/02/27
- Re: make standard If-Modified-Since headers, Ted Zlatanov, 2008/02/27
- Re: make standard If-Modified-Since headers, Ted Zlatanov, 2008/02/27
- Re: make standard If-Modified-Since headers, Jason Rumney, 2008/02/27
- Re: make standard If-Modified-Since headers, Jason Rumney, 2008/02/27
- Re: make standard If-Modified-Since headers, Ted Zlatanov, 2008/02/27
- Re: make standard If-Modified-Since headers, Stefan Monnier, 2008/02/27
- Re: make standard If-Modified-Since headers,
Robert J. Chassell <=
- Re: make standard If-Modified-Since headers, Ted Zlatanov, 2008/02/28
- Re: make standard If-Modified-Since headers, Stefan Monnier, 2008/02/28
- Re: make standard If-Modified-Since headers, Ted Zlatanov, 2008/02/28
- Re: make standard If-Modified-Since headers, Miles Bader, 2008/02/28
- Re: make standard If-Modified-Since headers, Stefan Monnier, 2008/02/28
- Re: make standard If-Modified-Since headers, Ted Zlatanov, 2008/02/28
- Re: make standard If-Modified-Since headers, Reiner Steib, 2008/02/28
- Re: make standard If-Modified-Since headers, Robert J. Chassell, 2008/02/27
- Re: make standard If-Modified-Since headers, Juanma Barranquero, 2008/02/28
- Re: make standard If-Modified-Since headers, Stefan Monnier, 2008/02/27