ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r1234651 - /ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/AbstractURLHandler.java
Date Sun, 22 Jan 2012 23:59:40 GMT
Author: maartenc
Date: Sun Jan 22 23:59:40 2012
New Revision: 1234651

URL: http://svn.apache.org/viewvc?rev=1234651&view=rev
Log:
Possible fix for IVY-1320?

Modified:
    ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/AbstractURLHandler.java

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/AbstractURLHandler.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/AbstractURLHandler.java?rev=1234651&r1=1234650&r2=1234651&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/AbstractURLHandler.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/AbstractURLHandler.java Sun Jan 22
23:59:40 2012
@@ -129,7 +129,7 @@ public abstract class AbstractURLHandler
             throws IOException {
         InputStream result = null;
         
-        if ("gzip".equals(encoding)) {
+        if ("gzip".equals(encoding) || "x-gzip".equals(encoding)) {
             result = new GZIPInputStream(in);
         } else if ("deflate".equals(encoding)) {
             // There seems to be 2 variants of the "deflate"-encoding.



Mime
View raw message