From 1767575728b21d7825423f0a1e3854932ed80864 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sun, 9 Oct 2022 17:31:15 -0400 Subject: [PATCH] make CURLOPT_ACCEPT_ENCODING automatic --- src/discord/httpclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 &cb) {