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

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