2010-05-23 17:55:20 -04:00
|
|
|
Changes since 4.1 ALPHA2
|
|
|
|
-------------------
|
|
|
|
|
2010-07-07 12:09:34 -04:00
|
|
|
* [HTTPCLIENT-965] Fixed problem with cache not honoring must-revalidate or
|
|
|
|
proxy-revalidate Cache-Control directives.
|
|
|
|
Contributed by Jonathan Moore <jonathan_moore at comcast.com>
|
|
|
|
|
2010-07-07 12:01:48 -04:00
|
|
|
* [HTTPCLIENT-964] no-cache directives with field names are no longer transmitted
|
|
|
|
downstream.
|
|
|
|
Contributed by Jonathan Moore <jonathan_moore at comcast.com>
|
|
|
|
|
2010-07-04 09:57:45 -04:00
|
|
|
* [HTTPCLIENT-962] Fixed handling of Authorization headers in shared cache mode.
|
|
|
|
Contributed by Jonathan Moore <jonathan_moore at comcast.com>
|
|
|
|
|
2010-07-04 09:35:27 -04:00
|
|
|
* [HTTPCLIENT-961] Not all applicable URIs are invalidated on PUT/POST/DELETEs
|
|
|
|
that pass through client cache.
|
|
|
|
Contributed by Jonathan Moore <jonathan_moore at comcast.com>
|
|
|
|
|
2010-07-02 06:31:34 -04:00
|
|
|
* [HTTPCLIENT-958] Client cache no longer allows incomplete responses to be
|
|
|
|
passed on to the client.
|
|
|
|
Contributed by Jonathan Moore <jonathan_moore at comcast.com>
|
|
|
|
|
2010-06-22 15:28:48 -04:00
|
|
|
* [HTTPCLIENT-951] Non-repeatable entity enclosing requests are not correctly
|
|
|
|
retried when 'expect-continue' handshake is active.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-06-15 10:15:34 -04:00
|
|
|
* [HTTPCLIENT-948] In rare circumstances the idle connection handling code
|
|
|
|
can leave closed connections in a inconsistent state.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-06-13 12:40:04 -04:00
|
|
|
* [HTTPCLIENT-953] IllegalStateException thrown by RouteSpecificPool.
|
|
|
|
Contributed by Guillaume <gueugaie at gmail.com>
|
|
|
|
|
2010-06-15 10:15:34 -04:00
|
|
|
* [HTTPCLIENT-952] Trust store parameter is ignored by SSLSocketFactory
|
2010-06-09 16:59:41 -04:00
|
|
|
(affects version 4.1-alpha2 only)
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-05-23 17:55:20 -04:00
|
|
|
* [HTTPCLIENT-937] CacheEntry made immutable; now uses immutable HttpEntity
|
|
|
|
to store cached content.
|
|
|
|
Contributed by David Mays <david_mays at comcast.com> and
|
|
|
|
Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-14 14:45:17 -04:00
|
|
|
Release 4.1 ALPHA2
|
2010-01-08 14:17:48 -05:00
|
|
|
-------------------
|
2010-05-10 15:42:01 -04:00
|
|
|
|
|
|
|
HttpClient 4.1 ALPHA2 fixes a number of non-severe bugs discovered since
|
|
|
|
the last release and introduces support for two frequently requested features:
|
|
|
|
|
2010-05-12 17:06:46 -04:00
|
|
|
* HTTP/1.1 response caching
|
|
|
|
|
|
|
|
* transparent support for host multihoming
|
|
|
|
|
2010-05-10 15:42:01 -04:00
|
|
|
* a mechanism to bypass the standard certificate trust verification
|
|
|
|
(useful when dealing with self-signed certificates)
|
|
|
|
|
|
|
|
Compatibility notes
|
|
|
|
-------------------
|
|
|
|
(1) Please note the HTTP caching module is still considered experimental and
|
|
|
|
its API may change significantly in the future releases.
|
|
|
|
|
|
|
|
(2) This release eliminates Mime4J as a dependency for the HttpMime module.
|
|
|
|
HttpMime is no longer binary compatible with the previous releases.
|
|
|
|
Full API and binary compatibility between minor versions of HttpMime will be
|
|
|
|
maintained as of 4.1 GA release.
|
|
|
|
|
|
|
|
Changelog
|
|
|
|
-------------------
|
|
|
|
|
2010-05-12 14:33:17 -04:00
|
|
|
* [HTTPCLIENT-936] Fixed bug causing NPE or an infinite loop in
|
|
|
|
the authentication code in case of a SPNEGO authentication failure.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-427] HTTP caching support
|
|
|
|
Contributed by Joe Campbell, David Cleaver, David Mays, Jon Moore, Brad Spenla
|
2010-01-08 14:17:48 -05:00
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* Dropped dependency on Mime4j for HttpMime.
|
2010-04-14 14:45:17 -04:00
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* Extended SSLSocketFactory with a mechanism to bypass the standard certificate
|
|
|
|
trust verification (primarily to simplify dealing with self-signed
|
|
|
|
certificates)
|
2010-04-14 14:45:17 -04:00
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-05-12 17:06:46 -04:00
|
|
|
* [HTTPCLIENT-898] Improved support for host multihoming
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-916] UsernamePasswordCredentials, NTUserPrincipal,
|
2010-02-26 07:19:06 -05:00
|
|
|
BasicClientCookie, BasicClientCookie2 and BasicCookieStore made Serializable.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-02-19 07:48:54 -05:00
|
|
|
* [HTTPCLIENT-914] Upgraded Commons Codec dependency to version 1.4
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-903] Use ConcurrentHashMap instead of [Linked]HashMap for
|
|
|
|
thread-safety. Improve performance of AuthSchemeRegistry, CookieSpecRegistry
|
2010-04-14 14:45:17 -04:00
|
|
|
and SchemeRegistry classes.
|
2010-02-19 07:48:54 -05:00
|
|
|
Contributed by Sebastian Bazley <sebb at apache.org>
|
2010-04-30 17:00:08 -04:00
|
|
|
|
2010-01-08 14:17:48 -05:00
|
|
|
* [HTTPCLIENT-902] HttpRequestRetryHandler not called on I/O exceptions
|
|
|
|
thrown when opening a new connection.
|
2010-04-30 17:00:08 -04:00
|
|
|
Contributed by Olivier Lamy <olamy at apache.org> and
|
2010-01-08 14:17:48 -05:00
|
|
|
Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2009-11-26 16:41:39 -05:00
|
|
|
Release 4.1 ALPHA1
|
2009-11-25 15:34:26 -05:00
|
|
|
-------------------
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
HttpClient 4.1 ALPHA1 builds on the stable 4.0 release and adds several
|
2009-11-25 15:34:26 -05:00
|
|
|
functionality improvements and new features.
|
|
|
|
|
|
|
|
* Simplified configuration of connection managers.
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* Persistence of authentication data between request executions within
|
2009-11-25 15:34:26 -05:00
|
|
|
the same execution context.
|
|
|
|
|
|
|
|
* Support for SPNEGO/Kerberos authentication scheme
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* Support for transparent content encoding. Please note transparent content
|
2009-11-25 15:34:26 -05:00
|
|
|
encoding is not enabled per default in order to avoid conflicts with
|
|
|
|
already existing custom content encoding solutions.
|
2009-12-01 15:01:44 -05:00
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* 5 to 10% performance increase due to elimination of unnecessary Log object
|
2009-12-01 15:01:44 -05:00
|
|
|
lookups by short-lived components.
|
|
|
|
|
2009-11-25 15:34:26 -05:00
|
|
|
Please note all methods and classes added in this release and marked as
|
|
|
|
4.1 are API unstable and can change in the future 4.1 ALPHA releases.
|
2010-04-30 17:00:08 -04:00
|
|
|
|
2009-11-25 15:34:26 -05:00
|
|
|
Changelog
|
2009-09-03 16:33:15 -04:00
|
|
|
-------------------
|
|
|
|
|
2009-11-24 15:52:31 -05:00
|
|
|
* [HTTPCLIENT-889] 'expect: continue' handshake disabled per default.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-862] Extended client's redirect handling interface to allow
|
2009-11-24 15:27:18 -05:00
|
|
|
control of the content of the redirect.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-872] HttpClient can now persist authentication data between request
|
2009-11-18 16:07:35 -05:00
|
|
|
executions as long as they share the same execution context. It has also become
|
2010-04-30 17:00:08 -04:00
|
|
|
much easier to make HttpClient authenticate preemptively by pre-populating
|
2009-11-18 16:07:35 -05:00
|
|
|
authentication data cache.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2009-10-26 10:06:58 -04:00
|
|
|
* [HTTPCLIENT-883] SO_TIMEOUT is not reset on persistent (re-used) connections.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-832] Distinguish cookie format errors from violations of
|
|
|
|
restrictions imposed by a cookie specification. In the latter case
|
2009-10-13 06:52:28 -04:00
|
|
|
CookieRestrictionViolationException will be thrown.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2009-10-12 12:26:38 -04:00
|
|
|
* [HTTPCLIENT-523] Support for SPNEGO authentication scheme.
|
|
|
|
Contributed by Matthew Stevenson <mavricknzwork at yahoo.com>
|
|
|
|
|
2009-10-02 07:33:00 -04:00
|
|
|
* Simplified configuration of connection managers. Total connection maximum
|
2010-04-30 17:00:08 -04:00
|
|
|
and maximum connection per route limits can be set using methods of
|
2009-10-02 07:33:00 -04:00
|
|
|
the class instead of HTTP parameters.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* Added parameters to define the order of preference for supported auth
|
2009-09-24 15:35:03 -04:00
|
|
|
schemes for target host and proxy authentication.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-875] DefaultClientConnectionOperator#openConnection doesn't
|
|
|
|
update the connection state if the connection socket changed after
|
2009-09-09 16:31:05 -04:00
|
|
|
the call to SocketFactory#connectSocket().
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2009-09-03 16:33:15 -04:00
|
|
|
* [HTTPCLIENT-834] Transparent content encoding support.
|
|
|
|
Contributed by James Abley <james.abley at gmail.com>
|
|
|
|
|
2009-11-25 15:34:26 -05:00
|
|
|
Release 4.0.1
|
|
|
|
-------------------
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
This is a bug fix release that addresses a number of issues discovered since
|
|
|
|
the previous stable release. None of the fixed bugs is considered critical.
|
2009-11-25 15:34:26 -05:00
|
|
|
Most notably this release eliminates eliminates dependency on JCIP annotations.
|
|
|
|
|
2009-12-01 15:01:44 -05:00
|
|
|
This release is also expected to improve performance by 5 to 10% due to
|
|
|
|
elimination of unnecessary Log object lookups by short-lived components.
|
|
|
|
|
2009-11-25 15:34:26 -05:00
|
|
|
Changelog
|
|
|
|
-------------------
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-895] Eliminated Log lookups in short lived objects impairing
|
2009-12-01 15:01:44 -05:00
|
|
|
performance.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-885] URLEncodedUtils now correctly parses form-url-encoded
|
2009-11-25 15:34:26 -05:00
|
|
|
entities that specify a charset.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-884] UrlEncodedFormEntity now sets charset on the Content-Type
|
2009-11-26 15:44:22 -05:00
|
|
|
header.
|
2010-04-30 17:00:08 -04:00
|
|
|
Contributed by Jared Jacobs <jmjacobs at cs.stanford.edu>
|
|
|
|
|
2009-11-25 15:34:26 -05:00
|
|
|
* [HTTPCLIENT-883] SO_TIMEOUT is not reset on persistent (re-used) connections.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-882] Auth state is now correctly updated if a successful NTLM
|
|
|
|
authentication results in a redirect. This is a minor bug as HttpClient
|
2009-11-25 15:34:26 -05:00
|
|
|
manages to recover from the problem automatically.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-881] Fixed race condition in AbstractClientConnAdapter that makes
|
|
|
|
it possible for an aborted connection to be returned to the pool.
|
2010-04-30 17:00:08 -04:00
|
|
|
Contributed by Tim Boemker <tboemker at elynx.com> and
|
2009-11-25 15:34:26 -05:00
|
|
|
Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-866] Removed dependency on jcip-annotations.jar.
|
2010-04-30 17:00:08 -04:00
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
2009-11-25 15:34:26 -05:00
|
|
|
and Sebastian Bazley <sebb at apache.org>
|
|
|
|
|
2009-09-03 16:33:15 -04:00
|
|
|
|
2009-07-12 10:25:51 -04:00
|
|
|
Release 4.0
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
HttpClient 4.0 represents a complete, ground-up redesign and almost a complete
|
|
|
|
rewrite of the HttpClient 3.x codeline. This release finally addresses several
|
|
|
|
design flaws that existed since the 1.0 release and could not be fixed without
|
|
|
|
a major code overhaul and breaking API compatibility.
|
|
|
|
|
|
|
|
|
|
|
|
Architectural changes
|
|
|
|
---------------------
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* Redesign of the HttpClient internals addressing all known major
|
2009-07-12 10:25:51 -04:00
|
|
|
architectural shortcomings of the 3.x codeline.
|
|
|
|
|
|
|
|
* Cleaner, more flexible and expressive API.
|
|
|
|
|
|
|
|
* More modular structure.
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* Better performance and smaller memory footprint due to a more efficient HTTP
|
|
|
|
transport based on HttpCore.
|
2009-07-12 10:25:51 -04:00
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* Implementation of cross-cutting HTTP protocol aspects through protocol
|
2009-07-12 10:25:51 -04:00
|
|
|
interceptors.
|
|
|
|
|
|
|
|
* Improved connection management, better handling of persistent connections,
|
|
|
|
support for stateful connections
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* Pluggable redirect and authentication handlers.
|
2009-07-12 10:25:51 -04:00
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* Improved support for sending requests via a proxy or a chain of proxies
|
2009-07-12 10:25:51 -04:00
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* More flexible SSL context customization
|
2009-07-12 10:25:51 -04:00
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* Reduced intermediate garbage in the process of generating HTTP requests
|
|
|
|
and parsing HTTP responses
|
2009-07-12 10:25:51 -04:00
|
|
|
|
|
|
|
|
|
|
|
Important notes
|
|
|
|
-------------------
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* Future releases of HttpMime module may be binary incompatible with this
|
2009-07-12 10:25:51 -04:00
|
|
|
release due to possible API changes in Apache Mime4J. Apache Mime4J is
|
|
|
|
still being actively developed and its API is considered unstable.
|
2010-04-30 17:00:08 -04:00
|
|
|
|
2009-07-12 10:25:51 -04:00
|
|
|
* HttpClient 4.0 is not fully binary compatible with 4.0 BETA1 release.
|
|
|
|
Some protected variables in connection management class have been
|
2010-04-30 17:00:08 -04:00
|
|
|
made final in order to help ensure their thread safety:
|
2009-07-12 10:25:51 -04:00
|
|
|
|
2009-07-16 17:30:38 -04:00
|
|
|
org.apache.http.conn.BasicEofSensorWatcher#attemptReuse
|
|
|
|
org.apache.http.conn.BasicEofSensorWatcher#managedConn
|
|
|
|
org.apache.http.impl.conn.DefaultClientConnectionOperator#schemeRegistry
|
|
|
|
org.apache.http.impl.conn.DefaultHttpRoutePlanner#schemeRegistry
|
|
|
|
org.apache.http.impl.conn.ProxySelectorRoutePlanner#schemeRegistry
|
|
|
|
org.apache.http.impl.conn.SingleClientConnManager#alwaysShutDown
|
|
|
|
org.apache.http.impl.conn.SingleClientConnManager#connOperator
|
|
|
|
org.apache.http.impl.conn.SingleClientConnManager#schemeRegistry
|
|
|
|
org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager#connOperator
|
|
|
|
org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager#schemeRegistry
|
2009-07-12 10:25:51 -04:00
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
|
|
|
|
Bug fixes since 4.0 BETA2 release
|
2009-02-14 12:01:38 -05:00
|
|
|
-------------------
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-861] URIUtils#resolve is now compatible with all examples given
|
2009-07-16 17:30:38 -04:00
|
|
|
in RFC 3986.
|
|
|
|
Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-860] HttpClient no longer converts redirects of PUT/POST to GET
|
2009-07-14 16:12:27 -04:00
|
|
|
for status codes 301, 302, 307, as required by the HTTP spec.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-859] CookieIdentityComparator now takes path attribute into
|
2009-07-09 15:29:11 -04:00
|
|
|
consideration when comparing cookies.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2009-07-08 15:10:52 -04:00
|
|
|
* HttpClient will no longer send expired cookies back to the origin server.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2009-06-29 14:43:51 -04:00
|
|
|
* [HTTPCLIENT-856] Proxy NTLM authentication no longer fails on a redirect to
|
|
|
|
a different host.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-841] Removed automatic connection release using garbage collection
|
2009-06-29 14:43:51 -04:00
|
|
|
due to a memory leak.
|
2009-06-13 06:13:36 -04:00
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-853] Fixed bug causing invalid cookie origin port to be selected
|
|
|
|
when the target is accessed on the default port and the connection is
|
2009-06-01 16:01:01 -04:00
|
|
|
established via a proxy.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-852] Fixed bug causing automatically retried redirects fail with
|
|
|
|
CircularRedirectException.
|
2009-06-01 06:39:05 -04:00
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* Fixed problem with the default HTTP response parser failing to handle garbage
|
2009-04-15 14:19:53 -04:00
|
|
|
preceding a valid HTTP response.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2009-03-25 18:05:45 -04:00
|
|
|
* NonRepeatableRequestExceptions now include the cause that the original
|
|
|
|
request failed.
|
|
|
|
Contributed by Sam Berlin <sberlin at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-837] Fixed problem with the wire log skipping zero byte values
|
2009-03-23 16:14:05 -04:00
|
|
|
if read one byte at a time.
|
|
|
|
Contributed by Kirill Safonov <ksafonov at swiftteams.com>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-823] 'http.conn-manager.max-total' parameter can be adjusted
|
|
|
|
dynamically. However, the size of existing connection pools per route,
|
2009-02-25 07:16:27 -05:00
|
|
|
once allocated, will not be adjusted.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-822] Default socket factories to rethrow SocketTimeoutException
|
|
|
|
as ConnectTimeoutException in case of connect failure due to a time out.
|
2009-02-14 12:01:38 -05:00
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-813] Fixed default port resolution. Invalid ports no longer
|
|
|
|
get replaced with the default port value.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2008-12-03 14:30:22 -05:00
|
|
|
Release 4.0 beta 2
|
2008-10-27 09:27:39 -04:00
|
|
|
-------------------
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
BETA2 is a maintenance release, which addresses a number of issues
|
|
|
|
discovered since the previous release.
|
2008-12-03 14:30:22 -05:00
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
The only significant new feature is an addition of an OSGi compliant
|
2008-12-05 13:48:45 -05:00
|
|
|
bundle combining HttpClient and HttpMime jars.
|
2008-12-03 14:30:22 -05:00
|
|
|
|
2008-12-05 13:48:45 -05:00
|
|
|
All upstream projects are strongly encouraged to upgrade.
|
2008-12-03 14:30:22 -05:00
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* Fixed NPE in DefaultRequestDirector thrown when retrying a failed
|
|
|
|
request over a proxied connection.
|
2008-12-05 13:54:23 -05:00
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-803] Fixed bug in SSL host verifier implementations
|
|
|
|
causing the SSL certificate to be rejected as invalid if the connection
|
2008-10-31 09:08:23 -04:00
|
|
|
is established using an IP address.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2008-10-30 09:56:25 -04:00
|
|
|
* [HTTPCLIENT-806] DefaultHttpMethodRetryHandler will no longer retry
|
|
|
|
on ConnectExceptions.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2008-10-28 11:11:25 -04:00
|
|
|
* DigestScheme can use an arbitrary digest algorithm requested by the
|
2010-04-30 17:00:08 -04:00
|
|
|
target server (such as SHA) as long as this algorithm is supported by
|
|
|
|
the Java runtime.
|
2008-10-28 11:11:25 -04:00
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* Fixed parsing and validation of RFC2109 compliant Set-Cookie headers
|
|
|
|
by the Best-Match cookie spec.
|
2008-10-28 10:05:58 -04:00
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2008-10-27 09:27:39 -04:00
|
|
|
* Fixed bug that can cause a managed connection to be returned from the
|
2010-04-30 17:00:08 -04:00
|
|
|
pool in an inconsistent state.
|
2008-10-27 09:27:39 -04:00
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
|
|
|
|
2008-08-19 14:03:52 -04:00
|
|
|
4.0 Beta 1
|
|
|
|
-------------------
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
BETA1 release brings yet another round of API enhancements and
|
2008-08-19 14:03:52 -04:00
|
|
|
improvements in the area of connection management. Among the most notable
|
2010-04-30 17:00:08 -04:00
|
|
|
ones is the capability to handle stateful connections such as persistent
|
2008-08-19 14:03:52 -04:00
|
|
|
NTLM connections and private key authenticated SSL connections.
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
This is the first API stable release of HttpClient 4.0. All further
|
2008-08-19 14:03:52 -04:00
|
|
|
releases in the 4.0 code line will maintain API compatibility with this
|
|
|
|
release.
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
There has been a number of important bug fixes since ALPHA4. All upstream
|
2008-08-19 14:03:52 -04:00
|
|
|
projects are encouraged to upgrade to the latest release.
|
|
|
|
|
|
|
|
Please note HttpClient currently provides only limited support for NTLM
|
|
|
|
authentication. For details please see NTLM_SUPPORT.txt.
|
|
|
|
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
Changelog:
|
2008-05-11 09:01:02 -04:00
|
|
|
-------------------
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-790] Protocol interceptors are now correctly invoked when
|
2008-08-12 08:53:49 -04:00
|
|
|
executing CONNECT methods.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-668] Do not use static loggers.
|
2008-07-01 14:52:41 -04:00
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2008-06-26 00:03:24 -04:00
|
|
|
* [HTTPCLIENT-781] Respect Keep-Alive header's timeout value.
|
|
|
|
Contributed by Sam Berlin <sberlin at apache.org>
|
|
|
|
|
2008-06-08 14:11:52 -04:00
|
|
|
* [HTTPCLIENT-779] Top-level classes (HttpClient, and HttpGet, HttpPut
|
2008-08-19 14:03:52 -04:00
|
|
|
and similar HttpMethods) throw fewer checked exceptions.
|
2008-06-08 14:11:52 -04:00
|
|
|
Contributed by Sam Berlin <sberlin at apache.org>
|
|
|
|
|
2008-06-06 14:13:18 -04:00
|
|
|
* HttpClient will throw an exception if an attempt is made to retry
|
|
|
|
a request with a non-repeatable request entity.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2008-05-29 15:41:00 -04:00
|
|
|
* Fixed request re-generation logic when retrying a failed request.
|
|
|
|
Auto-generated headers will no accumulate.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2008-05-23 12:47:14 -04:00
|
|
|
* [HTTPCLIENT-424] Preemptive authentication no longer limited to BASIC
|
|
|
|
scheme only. HttpClient can be customized to authenticate preemptively
|
|
|
|
with DIGEST scheme.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2008-05-22 14:33:47 -04:00
|
|
|
* [HTTPCLIENT-670] Pluggable hostname resolver.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2008-05-22 14:26:53 -04:00
|
|
|
* [HTTPCLIENT-719] Clone support for HTTP request and cookie objects.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2008-05-21 13:30:45 -04:00
|
|
|
* [HTTPCLIENT-776] Fixed concurrency issues with AbstractPoolEntry.
|
|
|
|
Contributed by Sam Berlin <sberlin at gmail.com>
|
|
|
|
|
2008-05-21 13:06:17 -04:00
|
|
|
* Resolved a long standing problem with HttpClient not taking into account
|
|
|
|
the user context when pooling / re-using connections. HttpClient now
|
2010-04-30 17:00:08 -04:00
|
|
|
correctly handles stateful / user specific connections such as persistent
|
|
|
|
NTLM connections and SSL connections with client side authentication.
|
2008-05-21 13:06:17 -04:00
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2008-05-17 07:44:16 -04:00
|
|
|
* [HTTPCLIENT-773] Improved handling of the 'expires' attribute by the
|
|
|
|
'Best Match' cookie spec.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2008-05-11 09:01:02 -04:00
|
|
|
* Partial NTLM support (requires an external NTLM engine). For details see
|
|
|
|
NTLM_SUPPORT.txt
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
|
|
|
* Redesigned local execution context management.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
|
|
|
--------------------------------------
|
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
Release 4.0 Alpha 4
|
|
|
|
-------------------
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
ALPHA4 marks the completion of the overhaul of the connection management
|
|
|
|
code in HttpClient. All known shortcomings of the old HttpClient 3.x
|
2008-05-01 05:33:07 -04:00
|
|
|
connection management API have been addressed.
|
2008-04-26 05:55:02 -04:00
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
NTLM authentication remains the only missing major feature in the new
|
2008-04-26 05:55:02 -04:00
|
|
|
codeline that prevents us from moving awards the API freeze.
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
There has been a number of important bug fixes since ALPHA3. All upstream
|
2008-04-26 05:55:02 -04:00
|
|
|
projects are encouraged to upgrade to the latest release.
|
|
|
|
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
HttpClient 3.x features that have NOT yet been ported:
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* NTLM authentication scheme
|
|
|
|
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
Changelog:
|
2008-02-29 04:43:28 -05:00
|
|
|
-------------------
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-765] String.toLowerCase() / toUpperCase() should specify
|
2008-05-11 09:01:02 -04:00
|
|
|
Locale.ENGLISH
|
|
|
|
Contributed by Sebastian Bazley <sebb at apache.org>
|
2008-05-02 19:52:56 -04:00
|
|
|
|
2008-05-02 19:10:20 -04:00
|
|
|
* [HTTPCLIENT-769] Do not pool connection marked non-reusable.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-763] Fixed problem with AbstractClientConnAdapter#abortConnection()
|
|
|
|
not releasing the connection if called from the main execution thread while
|
2008-04-21 15:14:23 -04:00
|
|
|
there is no blocking I/O operation.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-652] Added optional state attribute to managed client connections.
|
2008-04-17 13:50:13 -04:00
|
|
|
This enables connection managers to correctly handle stateful connections.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2008-04-14 10:17:01 -04:00
|
|
|
* [HTTPCLIENT-673] Revised max connections per route configuration
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2008-04-08 07:08:52 -04:00
|
|
|
* [HTTPCLIENT-753] Class Scheme and related classes moved to a separate package
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-757] Improved request wrapping in the DefaultClientRequestDirector.
|
|
|
|
This also fixed the problem with the default proxy set at the client level
|
|
|
|
having no effect.
|
2008-04-08 06:46:04 -04:00
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2008-03-19 15:36:02 -04:00
|
|
|
* [HTTPCLIENT-734] Request abort will unblock the thread waiting for a connection
|
|
|
|
Contributed by Sam Berlin <sberlin at gmail.com>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-759] Ensure release of connections back to the connection manager
|
2008-03-18 15:22:57 -04:00
|
|
|
on exceptions.
|
|
|
|
Contributed by Sam Berlin <sberlin at gmail.com>
|
|
|
|
|
2008-03-10 16:00:15 -04:00
|
|
|
* [HTTPCLIENT-758] Fixed the use of generics in AbstractHttpClient
|
|
|
|
#removeRequestInterceptorByClass and #removeResponseInterceptorByClass
|
|
|
|
Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
|
|
|
|
|
2008-02-29 08:19:50 -05:00
|
|
|
* [HTTPCLIENT-749] HttpParams beans
|
|
|
|
Contributed by Stojce Dimski <sdmiski at yahoo.it>
|
|
|
|
|
2008-02-29 04:43:28 -05:00
|
|
|
* [HTTPCLIENT-755] Workaround for known bugs in java.net.URI.resolve()
|
|
|
|
Bug ID: 4708535
|
|
|
|
Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
|
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
--------------------------------------
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
Release 4.0 Alpha 3
|
|
|
|
-------------------
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
ALPHA3 release brings another round of API refinements and improvements in
|
|
|
|
functionality. As of this release HttpClient requires Java 5 compatible
|
2008-04-26 05:55:02 -04:00
|
|
|
runtime environment and takes full advantage of generics and new concurrency
|
2010-04-30 17:00:08 -04:00
|
|
|
primitives.
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
This release also introduces new default cookie policy that selects a cookie
|
|
|
|
specification depending on the format of cookies sent by the target host.
|
|
|
|
It is no longer necessary to know beforehand what kind of HTTP cookie support
|
|
|
|
the target host provides. HttpClient is now able to pick up either a lenient
|
2008-04-26 05:55:02 -04:00
|
|
|
or a strict cookie policy depending on the compliance level of the target host.
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
Another notable improvement is a completely reworked support for multipart
|
2008-04-26 05:55:02 -04:00
|
|
|
entities based on Apache mime4j library.
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
-------------------
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
HttpClient 3.x features that have NOT yet been ported:
|
|
|
|
-------------------
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
* NTLM authentication scheme
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
-------------------
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
Changelog:
|
|
|
|
-------------------
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
* [HTTPCLIENT-742] common interface for HttpRoute and RouteTracker
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
* [HTTPCLIENT-741] Fixed concurrency issues in AbstractClientConnAdapter.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
* [HTTPCLIENT-726] testcase for spurious wakeups in ThreadSafeClientConnManager
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
* [HTTPCLIENT-643] Automatic connect fail-over for multi-home remote servers.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
* [HTTPCLIENT-735] unsetting of DEFAULT_PROXY and FORCED_ROUTE in hierarchies
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
* [HTTPCLIENT-723] route planner based on java.net.ProxySelector
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
* [HTTPCLIENT-740] don't start connection GC thread in pool constructor
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
* [HTTPCLIENT-736] route planners use SchemeRegistry instead of ConnManager
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
* [HTTPCLIENT-730] Fixed rewriting of URIs containing escaped characters
|
2010-04-30 17:00:08 -04:00
|
|
|
Contributed by Sam Berlin <sberlin at gmail.com> and
|
2008-04-26 05:55:02 -04:00
|
|
|
Oleg Kalnichevski <olegk at apache.org>
|
2010-04-30 17:00:08 -04:00
|
|
|
|
|
|
|
* [HTTPCLIENT-667] Added 'Meta' cookie policy that selects a cookie
|
2008-04-26 05:55:02 -04:00
|
|
|
specification depending on the format of the cookie(s).
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
* [HTTPCLIENT-729] Move HttpRoute and related classes to routing package.
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
* [HTTPCLIENT-725] Use TimeUnit arguments for timeouts in connection manager.
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
* [HTTPCLIENT-677] Connection manager no longer uses Thread.interrupt().
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
* [HTTPCLIENT-716] Allow application-defined routes.
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
* [HTTPCLIENT-712] Improve HttpRoute API
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
* [HTTPCLIENT-711] Bad route computed for redirected requests
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
* [HTTPCLIENT-715] Remove RoutedRequest from API
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
* [HTTPCLIENT-705] Fixed incorrect handling of URIs with null path component.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-688] HttpOptions#getAllowedMethods can now handle multiple
|
2008-04-26 05:55:02 -04:00
|
|
|
Allow headers.
|
|
|
|
Contributed by Andrea Selva <selva.andre at gmail.com>
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-02-11 11:10:46 -05:00
|
|
|
--------------------------------------
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-02-11 11:10:46 -05:00
|
|
|
Release 4.0 Alpha 2
|
|
|
|
-------------------
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
ALPHA2 release is another milestone in the redesign of HttpClient. It includes
|
|
|
|
a number of improvements since ALPHA1, among which are improved connection
|
2008-02-11 11:10:46 -05:00
|
|
|
pooling, support for proxy chains, redesigned HTTP state and authentication
|
2010-04-30 17:00:08 -04:00
|
|
|
credentials management API, improved RFC 2965 cookie specification.
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-02-11 11:10:46 -05:00
|
|
|
-------------------
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-02-11 11:10:46 -05:00
|
|
|
HttpClient 3.x features that have NOT yet been ported
|
|
|
|
-------------------
|
|
|
|
* NTLM authentication scheme
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* Support for multipart MIME coded entities
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-02-11 11:10:46 -05:00
|
|
|
-------------------
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-02-11 11:10:46 -05:00
|
|
|
Changelog
|
|
|
|
-------------------
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-698] Resolve non-absolute redirect URIs relative to
|
2008-02-11 11:10:46 -05:00
|
|
|
the request URI
|
|
|
|
Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-697] Throw a more intelligible exception when connection
|
|
|
|
to a remote host cannot be established.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-689] Caching of SimpleDateFormat in DateUtils
|
|
|
|
Contributed by Daniel Müller <strider at digitalstrider.com>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-689] stackable parameters in AbstractHttpClient
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-477] Use distinct instances of the authentication handler
|
2008-02-11 11:10:46 -05:00
|
|
|
interface for authentication with target and proxy hosts
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-690] ManagedClientConnection provides access to SSLSession
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-692] ClientConnectionManager throws InterruptedException
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
|
|
|
|
|
|
|
* [HTTPCORE-116] moved parameter names to interfaces
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-649] support for proxy chains in HttpConn
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-636] refactor ThreadSafeClientConnManager in separate package
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-669] new HttpRoutePlanner interface and implementation
|
|
|
|
Contributed by Andrea Selva <selva.andre at gmail.com>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-653] detached connection wrapper no longer prevents
|
|
|
|
garbage collection of ThreadSafeClientConnManager
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-674] use org.apache.http.util.VersionInfo instead of a local one
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* [HTTPCLIENT-666] Replaced HttpState with CredentialsProvier and CookieStore interfaces
|
2008-02-11 11:10:46 -05:00
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-02-11 11:10:46 -05:00
|
|
|
* [HTTPCORE-100] revised HttpContext hierarchy
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-618] eliminate class HostConfiguration
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-672] re-sync with API changes in core alpha6-SNAPSHOT
|
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
|
|
|
|
|
|
|
--------------------------------------
|
2007-07-19 13:55:05 -04:00
|
|
|
|
2007-07-08 17:53:04 -04:00
|
|
|
Release 4.0 Alpha 1
|
|
|
|
-------------------
|
|
|
|
|
2007-07-10 06:41:41 -04:00
|
|
|
HttpClient 4.0 represents a complete, ground-up redesign and almost a complete
|
|
|
|
rewrite of the HttpClient 3.x codeline. This release finally addresses several
|
|
|
|
design flaws that existed since the 1.0 release and could not be fixed without
|
|
|
|
a major code overhaul and breaking API compatibility.
|
2007-07-09 12:09:18 -04:00
|
|
|
|
2007-07-10 06:41:41 -04:00
|
|
|
The HttpClient 4.0 API is still very experimental and is bound to change
|
|
|
|
during the course of the ALPHA development phase. Several important features
|
|
|
|
have not yet been ported to the new API.
|
2007-07-09 12:09:18 -04:00
|
|
|
|
2007-07-10 06:41:41 -04:00
|
|
|
Architectural changes
|
|
|
|
---------------------
|
2007-07-09 12:09:18 -04:00
|
|
|
|
2007-07-10 06:41:41 -04:00
|
|
|
* Redesign of the HttpClient internals addressing all known
|
|
|
|
major architectural shortcomings of the 3.x codeline
|
2007-07-09 12:09:18 -04:00
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* Cleaner, more flexible and expressive API
|
2007-07-09 12:09:18 -04:00
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* Better performance and smaller memory footprint due to a more
|
|
|
|
efficient HTTP transport based on HttpCore. HttpClient 4.0 is
|
2007-07-13 09:37:46 -04:00
|
|
|
expected to be 10% to 25% faster than HttpClient 3.x codeline
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* More modular structure
|
2007-07-09 12:09:18 -04:00
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* Pluggable redirect and authentication handlers
|
2007-07-09 12:09:18 -04:00
|
|
|
|
|
|
|
* Support for protocol incerceptors
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* Improved connection management
|
2007-07-09 12:09:18 -04:00
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* Improved support for sending requests via a proxy or a chain of
|
|
|
|
proxies
|
2007-07-09 12:09:18 -04:00
|
|
|
|
|
|
|
* Improved handling redirects of entity enclosing requests
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* More flexible SSL context customization
|
2007-07-09 12:09:18 -04:00
|
|
|
|
2007-07-10 06:41:41 -04:00
|
|
|
* Reduced intermediate garbage in the process of
|
2010-04-30 17:00:08 -04:00
|
|
|
generating HTTP requests and parsing HTTP responses
|
2007-07-09 12:09:18 -04:00
|
|
|
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
HttpClient 3.x features that have NOT yet been ported
|
|
|
|
-------------------
|
|
|
|
* NTLM authentication scheme
|
|
|
|
|
|
|
|
* RFC2965 cookie policy (Cookie2)
|
|
|
|
|
2010-04-30 17:00:08 -04:00
|
|
|
* Support for multipart MIME coded entities
|
2007-07-09 12:09:18 -04:00
|
|
|
|
|
|
|
-------------------
|
2007-10-31 11:48:39 -04:00
|
|
|
|
|
|
|
Changelog
|
|
|
|
-------------------
|
|
|
|
|
2007-07-10 06:41:41 -04:00
|
|
|
The following is a list of contributions tracked in JIRA.
|
|
|
|
Note that this is not a complete list of contributions or changes.
|
|
|
|
Since the API was redesigned completely, tracking everything outside
|
|
|
|
of the source code repository would have been too burdensome.
|
2007-07-09 12:09:18 -04:00
|
|
|
|
2007-07-08 17:53:04 -04:00
|
|
|
* [HTTPCLIENT-655] User-Agent string no longer violates RFC
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-541] Virtual host API redesign
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2007-07-10 06:41:41 -04:00
|
|
|
* [HTTPCLIENT-614] Allow for different strategies when checking
|
|
|
|
CN of x509 certificates
|
2007-07-08 17:53:04 -04:00
|
|
|
Contributed by Julius Davies <juliusdavies at gmail.com>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-136] Fixed inadequate proxy support
|
2007-07-10 06:41:41 -04:00
|
|
|
Long standing architectural problem. Issue opened on 19/Dec/2002.
|
2007-07-08 17:53:04 -04:00
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-63] Support for pluggable redirect and authentication handlers
|
2010-04-30 17:00:08 -04:00
|
|
|
Long standing architectural problem. Issue opened on 15/Jul/2002.
|
2007-07-08 17:53:04 -04:00
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2007-07-10 06:41:41 -04:00
|
|
|
* [HTTPCLIENT-245] Fixed redirect handling. HttpClient can now automatically
|
2010-04-30 17:00:08 -04:00
|
|
|
handle redirects of entity enclosing requests.
|
2007-07-10 06:41:41 -04:00
|
|
|
Long standing architectural problem. Issue opened on 14/Jul/2003.
|
2007-07-08 17:53:04 -04:00
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-613] HTTPS connections now verify CN of x509 certificates
|
|
|
|
Contributed by Julius Davies <juliusdavies at gmail.com>
|
|
|
|
|
2007-07-10 06:41:41 -04:00
|
|
|
* [HTTPCLIENT-497] Wire/header logger names consistent with class loggers
|
2007-07-08 17:53:04 -04:00
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2007-07-10 06:41:41 -04:00
|
|
|
* [HTTPCLIENT-484] AuthSSLProtocolSocketFactory in the main distribution
|
2007-07-08 17:53:04 -04:00
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2007-07-10 06:41:41 -04:00
|
|
|
* [HTTPCLIENT-589] Do not consume the remaining response content if
|
|
|
|
the connection is to be closed
|
2007-07-08 17:53:04 -04:00
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
|
|
|
|
2007-07-10 06:41:41 -04:00
|
|
|
* [HTTPCLIENT-475] Support for unconnected sockets. HTTP requests can now be
|
|
|
|
aborted while network socket is still being connected.
|
2007-07-08 17:53:04 -04:00
|
|
|
Contributed by Roland Weber <rolandw at apache.org>
|
|
|
|
|