mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
RequestServer: Leave Accept-Encoding up to curl
This commit is contained in:
parent
c4d298674b
commit
5ac88e7726
Notes:
github-actions[bot]
2025-05-19 11:19:38 +00:00
Author: https://github.com/vpzomtrrfrt
Commit: 5ac88e7726
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4798
1 changed files with 1 additions and 1 deletions
|
@ -441,7 +441,7 @@ void ConnectionFromClient::start_request(i32 request_id, ByteString method, URL:
|
|||
if (!g_default_certificate_path.is_empty())
|
||||
set_option(CURLOPT_CAINFO, g_default_certificate_path.characters());
|
||||
|
||||
set_option(CURLOPT_ACCEPT_ENCODING, "gzip, deflate, br");
|
||||
set_option(CURLOPT_ACCEPT_ENCODING, ""); // empty string lets curl define the accepted encodings
|
||||
set_option(CURLOPT_URL, url.to_string().to_byte_string().characters());
|
||||
set_option(CURLOPT_PORT, url.port_or_default());
|
||||
set_option(CURLOPT_CONNECTTIMEOUT, s_connect_timeout_seconds);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue