Merge branch 'v5-dev' of github.com:looly/hutool into v5-dev

This commit is contained in:
Looly 2020-11-10 10:34:22 +08:00
commit 8903f52e8e

View File

@ -58,11 +58,11 @@ public class HttpUtil {
* 检测是否http * 检测是否http
* *
* @param url URL * @param url URL
* @return 是否https * @return 是否http
* @since 5.3.8 * @since 5.3.8
*/ */
public static boolean isHttp(String url) { public static boolean isHttp(String url) {
return url.toLowerCase().startsWith("http"); return url.toLowerCase().startsWith("http:");
} }
/** /**