diff --git a/libcef/browser/net/url_request_context_getter_impl.cc b/libcef/browser/net/url_request_context_getter_impl.cc index 8741a9059..0cc3e151b 100644 --- a/libcef/browser/net/url_request_context_getter_impl.cc +++ b/libcef/browser/net/url_request_context_getter_impl.cc @@ -271,6 +271,7 @@ net::URLRequestContext* CefURLRequestContextGetterImpl::GetURLRequestContext() { io_state_->url_request_context_.reset(new CefURLRequestContextImpl()); io_state_->url_request_context_->set_net_log(io_state_->net_log_); + io_state_->url_request_context_->set_enable_brotli(true); io_state_->storage_.reset(new net::URLRequestContextStorage( io_state_->url_request_context_.get())); diff --git a/libcef/browser/net/url_request_context_proxy.cc b/libcef/browser/net/url_request_context_proxy.cc index f9279d9e1..78e3e4dd0 100644 --- a/libcef/browser/net/url_request_context_proxy.cc +++ b/libcef/browser/net/url_request_context_proxy.cc @@ -21,6 +21,7 @@ CefURLRequestContextProxy::CefURLRequestContextProxy( // All other values refer to the parent request context. set_net_log(parent->net_log()); + set_enable_brotli(parent->enable_brotli()); set_host_resolver(parent->host_resolver()); set_cert_verifier(parent->cert_verifier()); set_transport_security_state(parent->transport_security_state());