summaryrefslogtreecommitdiff
path: root/src/discord/httpclient.cpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2022-10-09 17:31:15 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2022-10-09 17:31:15 -0400
commit1767575728b21d7825423f0a1e3854932ed80864 (patch)
treee7e6dcf31b1c9a75a342bc9f7c2d4c4960e1170e /src/discord/httpclient.cpp
parent0a34c04b44d3f500317a319d497ce2064fdd852f (diff)
downloadabaddon-portaudio-1767575728b21d7825423f0a1e3854932ed80864.tar.gz
abaddon-portaudio-1767575728b21d7825423f0a1e3854932ed80864.zip
make CURLOPT_ACCEPT_ENCODING automatic
Diffstat (limited to 'src/discord/httpclient.cpp')
-rw-r--r--src/discord/httpclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/discord/httpclient.cpp b/src/discord/httpclient.cpp
index cc0bb93..37436ee 100644
--- a/src/discord/httpclient.cpp
+++ b/src/discord/httpclient.cpp
@@ -143,7 +143,7 @@ void HTTPClient::AddHeaders(http::request &r) {
r.set_header(name, val);
}
curl_easy_setopt(r.get_curl(), CURLOPT_COOKIE, m_cookie.c_str());
- curl_easy_setopt(r.get_curl(), CURLOPT_ACCEPT_ENCODING, "gzip, deflate, br");
+ curl_easy_setopt(r.get_curl(), CURLOPT_ACCEPT_ENCODING, "");
}
void HTTPClient::OnResponse(const http::response_type &r, const std::function<void(http::response_type r)> &cb) {