json(..) 수정

master
mjkhan21 1 year ago
parent 2a7cf3d7e0
commit ec819de48f

@ -376,7 +376,8 @@ public class WebClient {
*/ */
public Request json(JSON json) { public Request json(JSON json) {
this.json = json; this.json = json;
return contentType(ContentType.JSON); contentType(ContentType.JSON);
return header("Accept", ContentType.JSON.type);
} }
private JSON json() { private JSON json() {

Loading…
Cancel
Save