mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
Merge branch 'v5-dev' of github.com:looly/hutool into v5-dev
This commit is contained in:
commit
8903f52e8e
@ -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:");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user