Skip to content
Snippets Groups Projects
Commit 2d20d667 authored by Francé Wilke's avatar Francé Wilke
Browse files

Change response header key

parent 9e3825e9
Branches
Tags v1.167.0
No related merge requests found
......@@ -46,7 +46,7 @@ func AddRequestIDToHeaders(requestID *string, responseHeaders map[string]string,
for key, val := range requestHeaders {
// Don't be case-sensitive
if strings.ToLower(key) == strings.ToLower(HTTPXRequestIDHeaderValue) {
responseHeaders[key] = val
responseHeaders[HTTPXRequestIDHeaderValue] = val
break
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment