mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
优化HttpRequest.toString()内容打印
This commit is contained in:
@@ -52,9 +52,9 @@ public class HttpRequestTest {
|
||||
@Test
|
||||
@Ignore
|
||||
public void toStringTest() {
|
||||
final String url = "http://gc.ditu.aliyun.com/geocoding?ccc=你好";
|
||||
final String url = "https://hutool.cn?ccc=你好";
|
||||
|
||||
final HttpRequest request = HttpRequest.get(url).body("a=乌海");
|
||||
final HttpRequest request = HttpRequest.get(url).form("a", "测试");
|
||||
Console.log(request.toString());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user