summaryrefslogtreecommitdiff
path: root/rss/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--rss/parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rss/parser.cpp b/rss/parser.cpp
index 2f45b7d7..991c147c 100644
--- a/rss/parser.cpp
+++ b/rss/parser.cpp
@@ -105,7 +105,7 @@ feed parser::parse_url(const std::string& url, time_t lastmodified, const std::s
curl_easy_setopt(easyhandle, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(easyhandle, CURLOPT_MAXREDIRS, 10);
curl_easy_setopt(easyhandle, CURLOPT_FAILONERROR, 1);
- curl_easy_setopt(easyhandle, CURLOPT_ENCODING, "gzip, deflate");
+ curl_easy_setopt(easyhandle, CURLOPT_ACCEPT_ENCODING, "gzip, deflate");
if (cookie_cache != "") {
curl_easy_setopt(easyhandle, CURLOPT_COOKIEFILE, cookie_cache.c_str());
curl_easy_setopt(easyhandle, CURLOPT_COOKIEJAR, cookie_cache.c_str());