Re: wget-cvs-ifmodsince.patch

2004-03-18 Thread Craig Sowadski
PROTECTED], [EMAIL PROTECTED] Subject: Re: wget-cvs-ifmodsince.patch Date: Sat, 28 Feb 2004 02:52:07 +0100 Craig Sowadski [EMAIL PROTECTED] writes: My only concern about only checking modification date is when there is an incomplete download, the local modification date is set to the current time

Re: wget-cvs-ifmodsince.patch

2004-02-26 Thread Craig Sowadski
modification date (time_t = 0 ) until it is finished?? This way the incomplete file will always be older than the server file, and will be replaced. Craig From: Hrvoje Niksic [EMAIL PROTECTED] To: Craig Sowadski [EMAIL PROTECTED] CC: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: wget-cvs

Re: wget-cvs-ifmodsince.patch

2004-02-25 Thread Hrvoje Niksic
Craig Sowadski [EMAIL PROTECTED] writes: 1. I can implement a patch like my original that only uses the if-modified-since when the last-modified field is excluded from the head-only request. Isn't that what your most recent patch implements? 2. Send the if-modified-since request, then get

Re: wget-cvs-ifmodsince.patch

2004-02-24 Thread Craig Sowadski
was better. Craig Sowadski From: Craig Sowadski [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: wget-cvs-ifmodsince.patch Date: Wed, 18 Feb 2004 15:15:48 -0600 I did this to allow a check on the file size as well as the modification date. Durring the Head

Re: wget-cvs-ifmodsince.patch

2004-02-18 Thread Hrvoje Niksic
Thanks for the modification, I've now applied the patch to my workspace and given it some testing. There's one thing I don't quite understand. Before the patch, Wget's timestamping was based on analyzing the Last-Modified header, working like this: 1. Send a HEAD request and get the response.

Re: wget-cvs-ifmodsince.patch

2004-02-18 Thread Craig Sowadski
other sugestions??? Craig From: Hrvoje Niksic [EMAIL PROTECTED] To: Craig Sowadski [EMAIL PROTECTED] CC: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: wget-cvs-ifmodsince.patch Date: Wed, 18 Feb 2004 16:01:51 +0100 Thanks for the modification, I've now applied the patch to my workspace

Re: wget-cvs-ifmodsince.patch

2004-02-17 Thread Hrvoje Niksic
Craig Sowadski [EMAIL PROTECTED] writes: Ok, I have attached a new patch that moves the local time into http_stat. I am also sending this to [EMAIL PROTECTED] for others to try out. It seems to work great for me. I was about to apply this patch, but noted a small problem: + if

Re: wget-cvs-ifmodsince.patch

2004-02-17 Thread Craig Sowadski
OK,, here is updated Craig From: Hrvoje Niksic [EMAIL PROTECTED] To: Craig Sowadski [EMAIL PROTECTED] CC: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: wget-cvs-ifmodsince.patch Date: Tue, 17 Feb 2004 16:34:32 +0100 Craig Sowadski [EMAIL PROTECTED] writes: Ok, I have attached a new

Re: wget-cvs-ifmodsince.patch

2004-02-17 Thread Craig Sowadski
I just noticed one other problem,, tml is never initialized after I moved to http_struct. This update takes care of it. Craig From: Craig Sowadski [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: wget-cvs-ifmodsince.patch Date

Re: wget-cvs-ifmodsince.patch

2004-02-16 Thread Craig Sowadski
Ok, I have attached a new patch that moves the local time into http_stat. I am also sending this to [EMAIL PROTECTED] for others to try out. It seems to work great for me. wget-cvs-ifmodsince.patch ChangeLog: Craig Sowadski [EMAIL PROTECTED] * http.c (If-Modified-Since): Implemented