git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'develop' into update_212_Dec_merge_with_21125_chamges
[jalview.git]
/
src
/
jalview
/
util
/
HttpUtils.java
diff --git
a/src/jalview/util/HttpUtils.java
b/src/jalview/util/HttpUtils.java
index
5e27541
..
ca311ae
100644
(file)
--- a/
src/jalview/util/HttpUtils.java
+++ b/
src/jalview/util/HttpUtils.java
@@
-71,11
+71,13
@@
public class HttpUtils
}
return false;
}
+
public static boolean startsWithHttpOrHttps(String file)
{
return file.startsWith("http://") || file.startsWith("https://");
}
+
/**
* wrapper to get/post to a URL or check headers
* @param url