diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-31 01:45:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-31 01:46:35 +0300 |
commit | 8e182c09072b75d05c1dff89bd3337f08782a562 (patch) | |
tree | 704aaab3a2c261ed468755dabeb68cb0f8f0db74 /src/net/download.h | |
parent | a0021f305d242ebc98a3507fd15011b1b51232d0 (diff) | |
download | mv-8e182c09072b75d05c1dff89bd3337f08782a562.tar.gz mv-8e182c09072b75d05c1dff89bd3337f08782a562.tar.bz2 mv-8e182c09072b75d05c1dff89bd3337f08782a562.tar.xz mv-8e182c09072b75d05c1dff89bd3337f08782a562.zip |
Use all supported encoding while accesing http.
Diffstat (limited to 'src/net/download.h')
-rw-r--r-- | src/net/download.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/download.h b/src/net/download.h index 7dae8913f..3628a8f3a 100644 --- a/src/net/download.h +++ b/src/net/download.h @@ -104,6 +104,8 @@ class Download final static void secureCurl(CURL *const curl); + static void addHeaders(CURL *const curl); + static unsigned long adlerBuffer(char *const buffer, int size); static std::string getUploadResponse() |