Merge pull request #1797 from deepak1556/response_headers_patch

fix accessing headers from resourcerequestdetails
This commit is contained in:
Cheng Zhao 2015-05-28 14:44:46 +08:00
commit 895ab49857

View file

@ -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;