wget-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Wget-dev] wget2 | WIP: --no-if-modified-since implementation & test


From: DalmeGNU
Subject: Re: [Wget-dev] wget2 | WIP: --no-if-modified-since implementation & tests for both --no-if-modified-since and -N (!439)
Date: Fri, 16 Aug 2019 14:32:43 +0000



DalmeGNU commented on a discussion: 
https://gitlab.com/gnuwget/wget2/merge_requests/439#note_204535811

There, on the first time we call wget_test() it downloads index.html with HTTP 
code 200, and second time it doesn't download it, with HTTP code 304. But we 
only check if file and content are there. So, imagine wget2 has a bug that 
breaks -N and makes wget2 always download again the file if -N is given. The 
test would pass, but if we check the HTTP codes we would see that in the second 
attempt HTTP code is 200 and not expected 304, so the test could fail

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/merge_requests/439#note_204535811
You're receiving this email because of your account on gitlab.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]