Skip to content

Commit

Permalink
fix: fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
oowl committed Dec 20, 2023
1 parent a579014 commit dad08b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kong/pdk/service/request.lua
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ local function new(self)
end
end

ngx.req.set_header(header, normalize_header(value))
ngx.req.set_header(header, normalize_multi_header(value))
end

---
Expand Down Expand Up @@ -343,7 +343,7 @@ local function new(self)
headers = { headers }
end

table_insert(headers, normalize_header(value))
table_insert(headers, normalize_multi_header(value))

ngx.req.set_header(header, headers)
end
Expand Down

0 comments on commit dad08b1

Please sign in to comment.