summaryrefslogtreecommitdiff
path: root/rss/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rss/parser.cpp')
-rw-r--r--rss/parser.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/rss/parser.cpp b/rss/parser.cpp
index 68b3c2ab..2eb66d82 100644
--- a/rss/parser.cpp
+++ b/rss/parser.cpp
@@ -239,6 +239,9 @@ Feed Parser::parse_url(const std::string& url,
}
throw Exception(msg);
}
+ if (infoOk == CURLE_OK && status == 304) {
+ throw NotModifiedException();
+ }
LOG(Level::INFO,
"Parser::parse_url: retrieved data for %s: %s",