Update url_request_http_job.cc

This commit is contained in:
Alexander David Frick 2021-11-13 19:10:01 -06:00 committed by GitHub
parent 64baf718d6
commit de8701ca1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,6 @@
#include "base/compiler_specific.h"
#include "base/file_version_info.h"
#include "base/location.h"
#include "base/macros.h"
#include "base/memory/ptr_util.h"
#include "base/metrics/field_trial.h"
#include "base/metrics/histogram_functions.h"
@ -328,7 +327,6 @@ void URLRequestHttpJob::Start() {
referer_value);
}
}
if (!(request_info_.load_flags & LOAD_MINIMAL_HEADERS)) {
request_info_.extra_headers.SetHeaderIfMissing(
HttpRequestHeaders::kUserAgent,