ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (JIRA)" <>
Subject [jira] Resolved: (IVY-864) HTTP Handlers ignore unsuccessful response codes.
Date Mon, 25 Aug 2008 21:59:44 GMT


Maarten Coene resolved IVY-864.

       Resolution: Fixed
    Fix Version/s: 2.0-RC1
         Assignee: Maarten Coene

I've applied your patch (with some modifications to reuse the code that was already checking
the response code).
Please verify that it is still working for you...

Thanks for your contribution

> HTTP Handlers ignore unsuccessful response codes.
> -------------------------------------------------
>                 Key: IVY-864
>                 URL:
>             Project: Ivy
>          Issue Type: Bug
>            Reporter: James P. White
>            Assignee: Maarten Coene
>             Fix For: 2.0-RC1
>         Attachments: http_download_response_patch.txt
> The and methods don't bother to check
the HTTP response code from the server.  As a result they will put anything that the server
sends back as the contents of the artifact.  This isn't so good if it is something like the
HTML message for a 404 or 503 and what you wanted was a JAR file.  In fact it is pretty bad
because then the cache is poisoned and the user is left with purging the cache as the only

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message