mirror of
https://github.com/electron/electron.git
synced 2026-01-24 14:57:58 -05:00
fix accessing headers from resourcerequestdetails
This commit is contained in:
@@ -317,7 +317,7 @@ void WebContents::DidGetResourceResponseStart(
|
||||
v8::HandleScope handle_scope(isolate);
|
||||
mate::Dictionary response_headers(isolate, v8::Object::New(isolate));
|
||||
|
||||
net::HttpResponseHeaders* headers = details.response_info.headers.get();
|
||||
net::HttpResponseHeaders* headers = details.headers.get();
|
||||
void* iter = nullptr;
|
||||
std::string key;
|
||||
std::string value;
|
||||
|
||||
Reference in New Issue
Block a user