sfeed

simple feed reader - forked from git.codemadness.org/sfeed
git clone git://src.gearsix.net/sfeed
Log | Files | Refs | Atom | README | LICENSE

commit 40db2bcd4bc92aab5cfe60f2e79c348425d0dd91
parent 84234e131aa58e31b1027abe18819beb8a637f31
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Thu,  2 May 2019 20:24:02 +0200

sfeed_update: disable If-Modified-Since by default

Diffstat:
Msfeed_update | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git 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.