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:
parent
d41fcabd76
commit
74042dee06
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue