зеркало из https://github.com/electron/electron.git
feat: accept-encoding zstd (#43150)
* fix: accept-encoding zstd * Update shell/browser/net/system_network_context_manager.cc Co-authored-by: Sam Maddock <smaddock@slack-corp.com> * chore: make lint happy --------- Co-authored-by: Sam Maddock <smaddock@slack-corp.com>
This commit is contained in:
Родитель
0f55b45282
Коммит
bba31189a0
|
@ -195,6 +195,8 @@ SystemNetworkContextManager::CreateDefaultNetworkContextParams() {
|
|||
void SystemNetworkContextManager::ConfigureDefaultNetworkContextParams(
|
||||
network::mojom::NetworkContextParams* network_context_params) {
|
||||
network_context_params->enable_brotli = true;
|
||||
network_context_params->enable_zstd =
|
||||
base::FeatureList::IsEnabled(net::features::kZstdContentEncoding);
|
||||
|
||||
network_context_params->enable_referrers = true;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче