opendatatrentino / jackan

Java client to access CKAN repositories
http://opendatatrentino.github.io/jackan
Other
19 stars 13 forks source link

increase httpclient version, closes #37 #38

Closed ridoo closed 8 years ago

ridoo commented 8 years ago

As mentioned in #37 there is a problem with SNI configured servers which may return the wrong SSL certificate when connecting via CkanClient. There's a problem with version 4.3.1 of Apache's httpclient, which should be resolved in versions higher than 4.3.1 used by Jackan.

This PR just increases version of Apache http components to resolve that issue.

DavidLeoni commented 8 years ago

Thanks for the pull request!

In the end I put version 4.4.1 as 4.3.3 of http-client doesn't allow writing giving excpetion: POST request cannot enclose an entity see https://issues.apache.org/jira/browse/HTTPCLIENT-1501

To keep things simple I chose 4.4.1 as it is the highest common version among libs I could find. I'm closing for now, if this version is giving you problems let me know.