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
JAL-629 Test tidyup
[jalview.git]
/
src
/
jalview
/
io
/
FileParse.java
diff --git
a/src/jalview/io/FileParse.java
b/src/jalview/io/FileParse.java
index
2dec559
..
d3a6ba9
100755
(executable)
--- a/
src/jalview/io/FileParse.java
+++ b/
src/jalview/io/FileParse.java
@@
-343,7
+343,7
@@
public class FileParse
}
String encoding = _conn.getContentEncoding();
String contentType = _conn.getContentType();
}
String encoding = _conn.getContentEncoding();
String contentType = _conn.getContentType();
- boolean isgzipped = "application/x-gzip".equalsIgnoreCase(contentType)
+ boolean isgzipped = "application/x-gzip".equalsIgnoreCase(contentType) || contentType.endsWith("gzip")
|| "gzip".equals(encoding);
Exception e = null;
InputStream inputStream = _conn.getInputStream();
|| "gzip".equals(encoding);
Exception e = null;
InputStream inputStream = _conn.getInputStream();