Closed
Description
- Framework version: 1.5
- Implementations: Spring Boot 2.1.8
Scenario
A Lambda with a GET resource that returns a list of object. Content-Type is application/json; charset=UTF-8.
The lambda is behind an API Gateway. /{proxy+}
Do a GET on the resource and get the list of the object as JSON.
Expected behaviour
Getting the objects with their content as expected.
Actual behaviour
Everything is working fine until we have strings with "special" characters in it, like this one:
"‘’’’"
we are retrieving this: "����"
After investigation and test with another lambda it appears that the header content-type is set in the multiValueHeaders
when it should just be in headers
looking at the code of AwsProxyHttpServletResponseWriter
it seems like there is no possibility to set the header at the right place.
Thank you for your help