Return-Path: X-Original-To: apmail-ant-notifications-archive@minotaur.apache.org Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7DA53B70C for ; Mon, 23 Jan 2012 00:00:24 +0000 (UTC) Received: (qmail 34577 invoked by uid 500); 23 Jan 2012 00:00:24 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 34519 invoked by uid 500); 23 Jan 2012 00:00:23 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 34512 invoked by uid 99); 23 Jan 2012 00:00:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2012 00:00:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2012 00:00:22 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 7FCDE238890D for ; Sun, 22 Jan 2012 23:59:40 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: notifications@ant.apache.org From: maartenc@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120122235940.7FCDE238890D@eris.apache.org> 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.