Ivy
  1. Ivy
  2. IVY-1328

Ivy cannot resolve artefacts from repositories that return HTTP 204 in response to an HTTP HEAD request

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.0-RC1
    • Component/s: Core
    • Labels:
      None

      Description

      Some Maven repo servers will respond with an HTTP 204 (no content) when a HEAD request is made for a resource. For example:

      curl -I http://teleal.org/m2/org/teleal/cling/cling-core/1.0.5/cling-core-1.0.5.pom
      

      will respond with a 204. Ivy's BasicURLHandler class will treat this as a failed lookup.

        Activity

        Hide
        Maarten Coene added a comment -

        I've committed a fix in SVN trunk for this problem.
        Could you give it a try and post your feedback here?

        Thanks!
        Maarten

        Show
        Maarten Coene added a comment - I've committed a fix in SVN trunk for this problem. Could you give it a try and post your feedback here? Thanks! Maarten

          People

          • Assignee:
            Maarten Coene
            Reporter:
            Rob Fletcher
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development