[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make standard If-Modified-Since headers
From: |
Ted Zlatanov |
Subject: |
Re: make standard If-Modified-Since headers |
Date: |
Wed, 27 Feb 2008 11:47:55 -0600 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) |
The specific function change I am proposing, so we have a specific
reference point:
(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)))))
Will this work on all systems? It avoids the hardcoded week and month
abbreviations through the locale specification, but I can only test that
on Linux.
Ted
- 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 <=
- 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, 2008/02/27
- 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