Merge pull request #6856 from brave/nested-header-fix

don't convert header names to nested values
This commit is contained in:
Kevin Sawicki 2016-08-16 08:54:26 -07:00 committed by GitHub
commit c93a8fb4ea

View file

@ -85,7 +85,7 @@ void ToDictionary(base::DictionaryValue* details,
std::unique_ptr<base::DictionaryValue> dict(new base::DictionaryValue);
net::HttpRequestHeaders::Iterator it(headers);
while (it.GetNext())
dict->SetString(it.name(), it.value());
dict->SetStringWithoutPathExpansion(it.name(), it.value());
details->Set("requestHeaders", std::move(dict));
}