diff --git a/CefSharp.Core/Internals/TypeConversion.h b/CefSharp.Core/Internals/TypeConversion.h index 567919e04c..b87a24d36c 100644 --- a/CefSharp.Core/Internals/TypeConversion.h +++ b/CefSharp.Core/Internals/TypeConversion.h @@ -37,8 +37,10 @@ namespace CefSharp for each (String^ key in headers) { - String^ value = headers[key]; - result.insert(std::pair(StringUtils::ToNative(key), StringUtils::ToNative(value))); + for each(String^ value in headers->GetValues(key)) + { + result.insert(std::pair(StringUtils::ToNative(key), StringUtils::ToNative(value))); + } } return result;