update http judge function & doc

This commit is contained in:
Jasper 2020-11-09 15:29:27 +08:00
parent 37dda15906
commit 04a54f88db

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