Merge pull request #6856 from brave/nested-header-fix
don't convert header names to nested values
This commit is contained in:
commit
c93a8fb4ea
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue