Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-1503

The fix for IVY-1194, to uncompress depending on the Content-Encoding breaks .tgz downloads

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.0
    • Fix Version/s: unspecified
    • Component/s: Core
    • Labels:
      None
    • Environment:

      Linux

      Description

      Since we updated from ivy 2.1 to 2.3 *.tgz files downloaded with a artifact url
      <artifact name="hello" conf="common" type="pkg" ext="tgz" url="http://server.xxx/ivy/hello.tgz"/>

      get uncompressed during the download, breaking the later handling of those files.
      I don't know if this is a setup issue of our http server, but I don't experience the ivy behavior in other tools. When I use wget for example (or a browser, or...) the file gets downloaded just fine.
      Would it be at least possibly not to perform this automatic uncompression with an attribute in the artifact? Or a global configuration property.

      Output for a wget --save-headers (which saves the file correctly, does not uncompress)
      HTTP/1.1 200 OK
      Date: Wed, 17 Dec 2014 21:58:28 GMT
      Server: Apache/2.2.3 (CentOS)
      Last-Modified: Wed, 17 Dec 2014 21:34:04 GMT
      ETag: "13421562-90-3c124b00"
      Accept-Ranges: bytes
      Content-Length: 144
      Connection: close
      Content-Type: application/x-tar
      Content-Encoding: x-gzip

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                danielfriederich Daniel Friederich
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: