diff options
author | 2017-08-12 14:03:51 +0300 | |
---|---|---|
committer | 2017-08-12 14:03:51 +0300 | |
commit | 91641e3f89dbd29d2a23a6530fc833e687eb7953 (patch) | |
tree | 540f315a1f01f20eb67bffca270a0c6b06b0fc14 /rss/parser.cpp | |
parent | fda201203b988ed1543bea5d03ba0a62fb11f6e0 (diff) | |
download | newsboat-91641e3f89dbd29d2a23a6530fc833e687eb7953.tar.gz newsboat-91641e3f89dbd29d2a23a6530fc833e687eb7953.tar.zst newsboat-91641e3f89dbd29d2a23a6530fc833e687eb7953.zip |
Use new name for CURLOPT_ENCODING
Diffstat (limited to '')
-rw-r--r-- | rss/parser.cpp | 2 |
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()); |