On Sat, 2009-05-09 at 13:18 +0400, Alexey Pechnikov wrote:
> Hello!
> 
> As I did find
> [ns_httptime 0] 
> Thu, 1 Jan 1970 00:00:00 GMT
> 
> It's wrong! Correct value is "Thu, 01 Jan 1970 00:00:00 GMT". So 
> cache control by headers "If-Modified-Since" and "If-None-Match"
> refused.

You can use this as a temporary replacement:

proc ::ns_httptime { seconds } {

return [clock format $seconds -format "%a, %d %b %Y %H:%M:%S %Z" -gmt 1]

}

tom jackson


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
<lists...@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to