mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix bug
This commit is contained in:
@@ -148,7 +148,7 @@ public class HttpRequest extends HttpBase<HttpRequest> {
|
||||
* @since 5.7.18
|
||||
*/
|
||||
public static HttpRequest of(String url, Charset charset) {
|
||||
return new HttpRequest(UrlBuilder.of(url, charset));
|
||||
return new HttpRequest(UrlBuilder.ofHttp(url, charset));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user