Menu

#71 If-Modified-Since broken

resolved
closed-fixed
htdig (103)
5
2001-09-27
2001-09-23
No

htdig-3.2.0b3

ht//dig is sending If-Modified-Since in local
time. Apache doesn't understand this.

tcpdump:
HEAD /test/b.html HTTP/1.1
Host: vancouver-webpages.com
User-Agent: htdig
Referer: http:///
If-Modified-Since: Sat, 22 Sep 2001 17:42:22 PDT
4b}@
HTTP/1.1 200 OK
Date: Sun, 23 Sep 2001 03:16:17 GMT
Server: Apache/1.3.6 (Unix) (Red Hat/Linux)
mod_perl/1.19
Last-Modified: Sun, 23 Sep 2001 00:42:22 GMT
ETag: "c6056-38-3bad2fee"
Accept-Ranges: bytes
Content-Length: 56
Content-Type: text/html

possible fix
htnet/HtHTTP.cc line 584

if(_modification_time) {
_modification_time->ToGMTime(); // Set to GM time
cmd << "If-Modified-Since: "
<<_modification_time->GetRFC1123() << "\r\n";
}

Discussion

  • Gilles Detillieux

    • milestone: --> resolved
    • assigned_to: nobody --> grdetil
    • status: open --> closed-fixed
     
  • Gilles Detillieux

    Logged In: YES
    user_id=149687

    Reported and fixed on Tuesday. Look for the next
    3.2.0b4 snapshot on or after 093001.

     

Log in to post a comment.