Enable Brotli encoding (issue #2303)
This commit is contained in:
parent
a07174604d
commit
d665578c51
|
@ -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()));
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue