Akay, I'n now into HtDateTime *Transport::NewDate(const char *datestring)
("Transport.cc" line 370 of 441 --83%-- )
NewDate is not recognizing the format. Had some test-printf put in
HtHTTP.cc. See below. I'm getting to this now....
code piece
---------------------------------------------------------------
else if( ! mystrncasecmp((char*)line, "last-modified:", 14))
{
// Modification date sent by the server
// Set the response modification time
token = strtok(token, "\n\t");
if (token && *token)
_response._modification_time = NewDate(token);
//Test
printf("Token: %s\n", token);
printf("Ascii: %s\n", _response._modification_time->GetAscTime() );
printf("RFC1123: %s\n", _response._modification_time->GetRFC1123() );
printf("RFC850: %s\n", _response._modification_time->GetRFC850() );
printf("ISO8601: %s\n", _response._modification_time->GetISO8601() );
printf("TimeStamp: %s\n", _response._modification_time->GetTimeStamp()
);
//EndTest
}
else if( ! mystrncasecmp((char*)line, "date:", 5))
------------------------------------------------------------
result
-----------------------------------------------------------------
Token: Fri, 21 Sep 2001 08:46:05 GMT
Ascii: Thu Jan 1 01:00:00 1970
RFC1123: Thu, 01 Jan 1970 01:00:00 MET
RFC850: Thursday, 01-Jan-70 01:00:00 MET
ISO8601: 1970-01-01 01:00:00 MET
TimeStamp: 19700101010000
-----------------------------------------------------------------
--jesse
--------------------------------------------------------------------
J. op den Brouw Johanna Westerdijkplein 75
Haagse Hogeschool 2521 EN DEN HAAG
Faculty of Engeneering Netherlands
Electrical Engeneering +31 70 4458936
-------------------- [EMAIL PROTECTED] --------------------
Linux - because reboots are for hardware changes
_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev