Skip to content

Commit c31e0fd

Browse files
Fix aws#1536 missing lower-casing in case of DefaultMonitoring enabled
1 parent d94d7ea commit c31e0fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aws-cpp-sdk-core/source/http/standard/StandardHttpRequest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ HeaderValueCollection StandardHttpRequest::GetHeaders() const
6161

6262
const Aws::String& StandardHttpRequest::GetHeaderValue(const char* headerName) const
6363
{
64-
auto iter = headerMap.find(headerName);
64+
auto iter = headerMap.find(StringUtils::ToLower(headerName));
6565
assert (iter != headerMap.end());
6666
if (iter == headerMap.end()) {
6767
AWS_LOGSTREAM_ERROR(STANDARD_HTTP_REQUEST_LOG_TAG, "Requested a header value for a missing header key: " << headerName);

0 commit comments

Comments
 (0)