summaryrefslogtreecommitdiff
path: root/rss/exception.h
diff options
context:
space:
mode:
authorGravatar Dennis van der Schagt <dennisschagt@gmail.com> 2024-06-23 17:11:29 +0200
committerGravatar Alexander Batischev <eual.jp@gmail.com> 2024-09-14 20:51:30 +0300
commit2284415e510935bb1937fc06a1ab3b8bd44cf3c8 (patch)
treee6898927f11e3dcb02c025da0b48f6b096b50064 /rss/exception.h
parent5e71f20e236f939610acccc047e64dceb902f689 (diff)
downloadnewsboat-2284415e510935bb1937fc06a1ab3b8bd44cf3c8.tar.gz
newsboat-2284415e510935bb1937fc06a1ab3b8bd44cf3c8.tar.zst
newsboat-2284415e510935bb1937fc06a1ab3b8bd44cf3c8.zip
Don't retry feed retrieval on HTTP 304 (Not Modified)
(cherry picked from commit 10ef5b59fa16c9eedacf217550f408026bebbdc8)
Diffstat (limited to 'rss/exception.h')
-rw-r--r--rss/exception.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/rss/exception.h b/rss/exception.h
index 5b0548e2f..1fc1ef33 100644
--- a/rss/exception.h
+++ b/rss/exception.h
@@ -16,6 +16,9 @@ private:
std::string emsg;
};
+class NotModifiedException : public std::exception {
+};
+
} // namespace rsspp
#endif /* NEWSBOAT_RSSPPEXCEPTION_H_ */