Hi,
I want to use the Apache HttpClient version 4.5.9 in my project. We are upgrading our project to Apache HttpClient version 4.5.9.
What is the maven dependency for the Apache HttpClient 4.5.9?
Thanks
Hi,
The Apache HttpClient version 4.5.9 library was released on Jun 11, 2019. You can use this library for developing program to interact with the HTTP server.
Here is the maven dependency for Apache HttpClient version 4.5.9:
<dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.9</version> </dependency>
If you want to use the Gradle in your project then following dependency can be used:
implementation group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.9'
Very less people are using the SBT build tool, but if you are using SBT then you can use following dependcy:
libraryDependencies += "org.apache.httpcomponents" % "httpclient" % "4.5.9"
Hope this helps you.
Thanks
Hi,
Here is the features/updates of Apache HttpClient version 4.5.9:
This is a maintenance release that fixes a number defects discovered since 4.5.8.
HTTPCLIENT-1991: incorrect handling of non-standard DNS entries by PublicSuffixMatcher
Contributed by Oleg Kalnichevski
Fix bug in URIBuilder#isPathEmpty method to verify if encodedPath is an empty string
Contributed by Varun Nandi
HTTPCLIENT-1984: Add normalize URI to RequestConfig copy constructor
Contributed by Matt Nelson
HTTPCLIENT-1976: Unsafe deserialization in DefaultHttpCacheEntrySerializer Contributed by Artem Smotrakov
Thanks