We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d94d7ea commit c31e0fdCopy full SHA for c31e0fd
src/aws-cpp-sdk-core/source/http/standard/StandardHttpRequest.cpp
@@ -61,7 +61,7 @@ HeaderValueCollection StandardHttpRequest::GetHeaders() const
61
62
const Aws::String& StandardHttpRequest::GetHeaderValue(const char* headerName) const
63
{
64
- auto iter = headerMap.find(headerName);
+ auto iter = headerMap.find(StringUtils::ToLower(headerName));
65
assert (iter != headerMap.end());
66
if (iter == headerMap.end()) {
67
AWS_LOGSTREAM_ERROR(STANDARD_HTTP_REQUEST_LOG_TAG, "Requested a header value for a missing header key: " << headerName);
0 commit comments