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 3e2d5fe commit c3936a5Copy full SHA for c3936a5
cloud/common/runtime/gateway/http.go
@@ -71,6 +71,9 @@ func HttpHeadersToMap(rh *fasthttp.RequestHeader) map[string][]string {
71
} else if strings.ToLower(keyString) == "authorization" {
72
// Forward original authorization header
73
headerCopy["X-Platform-Authorization"] = []string{string(val)}
74
+ if _, exists := headerCopy["Authorization"]; !exists {
75
+ headerCopy["Authorization"] = []string{string(val)}
76
+ }
77
} else {
78
headerCopy[string(key)] = append(headerCopy[string(key)], string(val))
79
}
0 commit comments