You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Restlight, it seems that StandardCharsets.UTF_8 is the default charset, but we should flow the HTTP standard to handle the charset such as content-type header, accept header.
And Here are some wrong uses
How can we make sure that UTF-8 is compatible with the given value
Motivation
In Restlight, it seems that
StandardCharsets.UTF_8
is the default charset, but we should flow the HTTP standard to handle the charset such ascontent-type
header,accept
header.And Here are some wrong uses
How can we make sure that
UTF-8
is compatible with the given valueesa-restlight/restlight-core/src/main/java/esa/restlight/core/serialize/GsonSerializer.java
Lines 43 to 45 in ce8fe48
We should try to retrieve charset from the content-type rather than using
UTF8
directlyesa-restlight/restlight-core/src/main/java/esa/restlight/core/resolver/arg/AbstractRequestBodyArgumentResolver.java
Lines 98 to 107 in ce8fe48
The text was updated successfully, but these errors were encountered: