Last-Modified: header should always be displayed time as GMT or UTC

Not an HTTP imposition. As long it's a valid http-date, it's fine. There is only the need to use the same convention when sending, and comparing these dates.



However, there is a bug in OverbyteIcsHttpSrv.pas in function FileDate
which is returning the local time stamp of the file, not the GMT/UTC time
stamp.  I'll fix it next week.

Yep. Just change the line
            Result := _FileDateToDateTime(SearchRec.Time);
to
Result := _FileDateToDateTime(SearchRec.FindData.ftLastWriteTime);



--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to