Github user twogee commented on the issue: https://github.com/apache/ant-ivy/pull/54 The code below apparently assumes that client 2.x might still be around; it is obsolete and this is a perfect opportunity to remove it ``` private HttpClientHelper getHttpClientHelper() { if (httpClientHelper == null) { // use commons httpclient 3.0 if available try { HttpMethodBase.class.getMethod("getResponseContentLength"); httpClientHelper = new HttpClientHelper3x(); Message.verbose("using commons httpclient 3.x helper"); } catch (SecurityException e) { Message.verbose("unable to get access to getResponseContentLength of " + "commons-httpclient HeadMethod. Please use commons-httpclient 3.0 or " + "use ivy with sufficient security permissions."); Message.verbose("exception: " + e.getMessage()); httpClientHelper = new HttpClientHelper2x(); Message.verbose("using commons httpclient 2.x helper"); } catch (NoSuchMethodException e) { httpClientHelper = new HttpClientHelper2x(); Message.verbose("using commons httpclient 2.x helper"); } } return httpClientHelper; } ```
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org