This commit is contained in:
looly 2022-01-05 11:10:37 +08:00
parent 206706936f
commit cdf105589d
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@
-------------------------------------------------------------------------------------------------------------
# 5.7.19 (2022-01-04)
# 5.7.19 (2022-01-05)
### 🐣新特性
* 【db 】 优化Condition参数拆分pr#2046@Github
@ -19,6 +19,7 @@
* 【core 】 修复ServletUtil写出文件时未添加双引号导致逗号等特殊符号引起的问题issue#I4P1BF@Gitee
* 【core 】 NumberUtil增加equals重载解决long传入判断问题pr#2064@Github
* 【core 】 修复CsvParser行号有误问题pr#2065@Github
* 【http 】 修复HttpRequest.of无法自动添加http前缀问题issue#I4PEYL@Gitee
-------------------------------------------------------------------------------------------------------------
# 5.7.18 (2021-12-25)

View File

@ -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));
}
/**