mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: move report_raw_headers to TrustedParams (#36725)
* fix: move report_raw_headers to TrustedParams * Update electron_api_url_loader.cc * missed a copy constructor
This commit is contained in:
@@ -280,7 +280,7 @@ SimpleURLLoaderWrapper::SimpleURLLoaderWrapper(
|
||||
// Chromium filters headers using browser rules, while for net module we have
|
||||
// every header passed. The following setting will allow us to capture the
|
||||
// raw headers in the URLLoader.
|
||||
request->report_raw_headers = true;
|
||||
request->trusted_params->report_raw_headers = true;
|
||||
// SimpleURLLoader wants to control the request body itself. We have other
|
||||
// ideas.
|
||||
auto request_body = std::move(request->request_body);
|
||||
|
||||
Reference in New Issue
Block a user