From 40db2bcd4bc92aab5cfe60f2e79c348425d0dd91 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Thu, 2 May 2019 20:24:02 +0200 Subject: sfeed_update: disable If-Modified-Since by default --- sfeed_update | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sfeed_update') diff --git a/sfeed_update b/sfeed_update index cdb6f67..307d264 100755 --- a/sfeed_update +++ b/sfeed_update @@ -39,10 +39,9 @@ log() { # fetch a feed via HTTP/HTTPS etc. # fetch(name, url, feedfile) fetch() { - # fail on redirects, hide User-Agent, timeout is 15 seconds, - # -z for If-Modified-Since. + # fail on redirects, hide User-Agent, timeout is 15 seconds. curl -L --max-redirs 0 -H "User-Agent:" -f -s -m 15 \ - -z "$3" "$2" 2>/dev/null + "$2" 2>/dev/null } # convert encoding from one encoding to another. -- cgit v1.2.3