fix accessing headers from resourcerequestdetails
This commit is contained in:
parent
4a376694b4
commit
f98da217e1
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ void WebContents::DidGetResourceResponseStart(
|
||||||
v8::HandleScope handle_scope(isolate);
|
v8::HandleScope handle_scope(isolate);
|
||||||
mate::Dictionary response_headers(isolate, v8::Object::New(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;
|
void* iter = nullptr;
|
||||||
std::string key;
|
std::string key;
|
||||||
std::string value;
|
std::string value;
|
||||||
|
|
Loading…
Reference in a new issue