mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
ceftests: Fix CookieTest failure with --use-test-http-server (see issue #3348)
This commit is contained in:
@@ -453,8 +453,7 @@ std::string GetHeaderValue(const CefRequest::HeaderMap& header_map,
|
||||
const std::string& header_name_lower) {
|
||||
CefRequest::HeaderMap::const_iterator it = header_map.begin();
|
||||
for (; it != header_map.end(); ++it) {
|
||||
std::string name = it->first;
|
||||
std::transform(name.begin(), name.end(), name.begin(), ::tolower);
|
||||
std::string name = AsciiStrToLower(it->first);
|
||||
if (name == header_name_lower)
|
||||
return it->second;
|
||||
}
|
||||
|
Reference in New Issue
Block a user