fix: Remove charset from application/json content type

Per https://datatracker.ietf.org/doc/html/rfc8259, application/json does not have a charset parameter
This commit is contained in:
Nik Clayton 2024-07-20 15:01:52 +02:00 committed by GitHub
parent d41fcabd76
commit 74042dee06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,7 +20,7 @@ public class JsonObjectRequestBody extends RequestBody{
@Override
public MediaType contentType(){
return MediaType.get("application/json;charset=utf-8");
return MediaType.get("application/json");
}
@Override