File tree 1 file changed +2
-2
lines changed
okcurl/src/test/java/com/squareup/okhttp/curl
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public class MainTest {
45
45
RequestBody body = request .body ();
46
46
assertEquals ("POST" , request .method ());
47
47
assertEquals ("http://example.com/" , request .urlString ());
48
- assertEquals ("application/x-form-urlencoded; charset=utf-8" , body .contentType ().toString ());
48
+ assertEquals ("application/x-www- form-urlencoded; charset=utf-8" , body .contentType ().toString ());
49
49
assertEquals ("foo" , bodyAsString (body ));
50
50
}
51
51
@@ -54,7 +54,7 @@ public class MainTest {
54
54
RequestBody body = request .body ();
55
55
assertEquals ("PUT" , request .method ());
56
56
assertEquals ("http://example.com/" , request .urlString ());
57
- assertEquals ("application/x-form-urlencoded; charset=utf-8" , body .contentType ().toString ());
57
+ assertEquals ("application/x-www- form-urlencoded; charset=utf-8" , body .contentType ().toString ());
58
58
assertEquals ("foo" , bodyAsString (body ));
59
59
}
60
60
You can’t perform that action at this time.
0 commit comments