X-Git-Url: http://source.jalview.org/gitweb/?p=jalview.git;a=blobdiff_plain;f=src%2Fjalview%2Fio%2FFileParse.java;h=d3a6ba936b86c3f65feaa7bc165995e4e31575ae;hp=2dec5592664b9889095ed0d9f4618696cc1524d1;hb=b72726a61d5d7619debde302745c2008c572cfc1;hpb=7a75c9344b107e95d3f77a89c0dad99b7c222128 diff --git a/src/jalview/io/FileParse.java b/src/jalview/io/FileParse.java index 2dec559..d3a6ba9 100755 --- 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(); - 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();