Support add/overwrite redirect request headers in NavigationURLLoader
https://chromium-review.googlesource.com/c/chromium/src/+/1072643
This commit is contained in:
parent
18128a1582
commit
9c2cd5a84c
1 changed files with 2 additions and 1 deletions
|
@ -267,7 +267,8 @@ void AtomURLRequest::DoCancel() {
|
||||||
void AtomURLRequest::DoFollowRedirect() {
|
void AtomURLRequest::DoFollowRedirect() {
|
||||||
DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
|
DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
|
||||||
if (request_ && request_->is_redirecting() && redirect_policy_ == "manual") {
|
if (request_ && request_->is_redirecting() && redirect_policy_ == "manual") {
|
||||||
request_->FollowDeferredRedirect();
|
request_->FollowDeferredRedirect(
|
||||||
|
base::nullopt /* modified_request_headers */);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue