src/gui/lua/lua_curl.cpp ACCEPT_ENCODING for gzip compressed data, need build libcurl with --with-zlib

Origin commit data
------------------
Branch: ni/coolstream
Commit: 7fee7784ae
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-12-22 (Thu, 22 Dec 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2016-12-22 23:09:07 +01:00
parent 642d6b0663
commit 94fdc06b38

View File

@@ -265,6 +265,8 @@ Example:
curl_easy_setopt(curl_handle, CURLOPT_CONNECTTIMEOUT, (long)connectTimeout);
curl_easy_setopt(curl_handle, CURLOPT_NOSIGNAL, 1L);
curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, 0L);
/* enable all supported built-in compressions */
curl_easy_setopt(curl_handle, CURLOPT_ACCEPT_ENCODING, "");
if (!userAgent.empty())
curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, userAgent.c_str());