Skip to content

Commit

Permalink
fix: content type for v1 payload should be retrieved from multi value…
Browse files Browse the repository at this point in the history
… headers (#1193)
  • Loading branch information
deki committed Dec 20, 2024
1 parent 53a747d commit bd0ae08
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ private static HttpServletRequest generateRequest1(String request, Context lambd
}
populateContentAndContentType(
v1Request.getBody(),
v1Request.getHeaders().get(HttpHeaders.CONTENT_TYPE),
v1Request.getMultiValueHeaders().getFirst(HttpHeaders.CONTENT_TYPE),
v1Request.isBase64Encoded(),
httpRequest
);
Expand Down

0 comments on commit bd0ae08

Please sign in to comment.