Skip to content

Commit

Permalink
fix(plugins/request-transformer): always lower when set header value
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Jan 4, 2024
1 parent 5175e10 commit 74cbfcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/plugins/request-transformer/access.lua
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ local function transform_headers(conf, template_env)
old_name = old_name:lower()
local value = headers[old_name]
if value then
headers[new_name] = value
headers[new_name:lower()] = value
headers[old_name] = nil
headers_to_remove[old_name] = true
end
Expand Down

0 comments on commit 74cbfcd

Please sign in to comment.