mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add ability to stop CefURLRequest on redirect (issue #1329)
This commit is contained in:
committed by
Marshall Greenblatt
parent
c3f5e6463c
commit
90863b8c5d
@@ -356,6 +356,9 @@ class CefBrowserURLRequest::Context
|
||||
CefResponseImpl* responseImpl =
|
||||
static_cast<CefResponseImpl*>(response_.get());
|
||||
|
||||
responseImpl->SetURL(fetcher_->GetURL().spec());
|
||||
responseImpl->SetStatus(fetcher_->GetResponseCode());
|
||||
|
||||
net::HttpResponseHeaders* headers = fetcher_->GetResponseHeaders();
|
||||
if (headers)
|
||||
responseImpl->SetResponseHeaders(*headers);
|
||||
|
Reference in New Issue
Block a user