2009-02-14 12:01:38 -05:00
|
|
|
Changes since 4.0 beta 2
|
|
|
|
-------------------
|
|
|
|
|
2009-04-15 14:19:53 -04:00
|
|
|
* Fixed problem with the default HTTP response parser failing to handle garbage
|
|
|
|
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>
|
|
|
|
|
2009-03-23 16:14:05 -04:00
|
|
|
* [HTTPCLIENT-837] Fixed problem with the wire log skipping zero byte values
|
|
|
|
if read one byte at a time.
|
|
|
|
Contributed by Kirill Safonov <ksafonov at swiftteams.com>
|
|
|
|
|
2009-02-25 07:16:27 -05:00
|
|
|
* [HTTPCLIENT-823] 'http.conn-manager.max-total' parameter can be adjusted
|
|
|
|
dynamically. However, the size of existing connection pools per route,
|
|
|
|
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
|
|
|
-------------------
|
|
|
|
|
2008-12-03 14:30:22 -05:00
|
|
|
BETA2 is a maintenance release, which addresses a number of issues
|
|
|
|
discovered since the previous release.
|
|
|
|
|
|
|
|
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
|
|
|
|
2008-12-05 13:54:23 -05:00
|
|
|
* Fixed NPE in DefaultRequestDirector thrown when retrying a failed
|
|
|
|
request over a proxied connection.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2008-10-31 09:08:23 -04:00
|
|
|
* [HTTPCLIENT-803] Fixed bug in SSL host verifier implementations
|
|
|
|
causing the SSL certificate to be rejected as invalid if the connection
|
|
|
|
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
|
2008-12-12 15:22:40 -05:00
|
|
|
target server (such as SHA) as long as this algorithm is supported by
|
2008-10-28 11:11:25 -04:00
|
|
|
the Java runtime.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2008-10-28 10:05:58 -04:00
|
|
|
* Fixed parsing and validation of RFC2109 compliant Set-Cookie headers
|
|
|
|
by the Best-Match cookie spec.
|
|
|
|
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
|
|
|
|
pool in an inconsistent state.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
|
|
|
|
2008-12-03 14:30:22 -05:00
|
|
|
HttpClient API changes (generated by JarDiff 0.2)
|
|
|
|
--------------------------------------
|
|
|
|
Class changed: org.apache.http.conn.scheme.PlainSocketFactory
|
|
|
|
Methods removed:
|
|
|
|
public boolean equals(java.lang.Object);
|
|
|
|
public int hashCode();
|
|
|
|
|
|
|
|
Class changed: org.apache.http.conn.ssl.AbstractVerifier
|
|
|
|
Method changed:
|
|
|
|
old:
|
|
|
|
public final boolean verify(java.lang.String, javax.net.ssl.SSLSession);
|
|
|
|
|
|
|
|
new:
|
|
|
|
deprecated: public final boolean verify(java.lang.String, javax.net.ssl.SSLSession);
|
|
|
|
|
|
|
|
Class changed: org.apache.http.impl.conn.tsccm.BasicPoolEntry
|
|
|
|
Methods added:
|
|
|
|
protected void shutdownEntry();
|
|
|
|
|
|
|
|
Class changed: org.apache.http.impl.cookie.RFC2965Spec
|
|
|
|
Methods added:
|
|
|
|
protected java.util.List parse(org.apache.http.HeaderElement[], org.apache.http.cookie.CookieOrigin) throws org.apache.http.cookie.MalformedCookieException;
|
|
|
|
|
|
|
|
API diff generated by JarDiff http://www.osjava.org/jardiff/
|
|
|
|
|
|
|
|
HttpMime API changes (generated by JarDiff 0.2)
|
|
|
|
--------------------------------------
|
|
|
|
Class added:
|
|
|
|
public org.apache.http.entity.mime.UnexpectedMimeException extends java.lang.RuntimeException
|
|
|
|
Class added:
|
|
|
|
public abstract org.apache.http.entity.mime.content.AbstractContentBody extends org.apache.james.mime4j.message.AbstractBody implements org.apache.http.entity.mime.content.ContentBody
|
|
|
|
Class changed: org.apache.http.entity.mime.content.FileBody
|
|
|
|
Methods removed:
|
|
|
|
public java.util.Map getContentTypeParameters();
|
|
|
|
public java.lang.String getMediaType();
|
|
|
|
public java.lang.String getMimeType();
|
|
|
|
public java.lang.String getSubType();
|
|
|
|
|
|
|
|
Methods added:
|
|
|
|
public FileBody(java.io.File, java.lang.String);
|
|
|
|
|
|
|
|
Class descriptor changed:
|
|
|
|
old:
|
|
|
|
public org.apache.http.entity.mime.content.FileBody extends org.apache.james.mime4j.message.AbstractBody implements org.apache.james.mime4j.message.BinaryBody, org.apache.http.entity.mime.content.ContentBody
|
|
|
|
new:
|
|
|
|
public org.apache.http.entity.mime.content.FileBody extends org.apache.http.entity.mime.content.AbstractContentBody implements org.apache.james.mime4j.message.BinaryBody
|
|
|
|
Class changed: org.apache.http.entity.mime.content.InputStreamBody
|
|
|
|
Methods removed:
|
|
|
|
public java.util.Map getContentTypeParameters();
|
|
|
|
public java.lang.String getMediaType();
|
|
|
|
public java.lang.String getMimeType();
|
|
|
|
public java.lang.String getSubType();
|
|
|
|
|
|
|
|
Methods added:
|
|
|
|
public InputStreamBody(java.io.InputStream, java.lang.String, java.lang.String);
|
|
|
|
|
|
|
|
Class descriptor changed:
|
|
|
|
old:
|
|
|
|
public org.apache.http.entity.mime.content.InputStreamBody extends org.apache.james.mime4j.message.AbstractBody implements org.apache.james.mime4j.message.BinaryBody, org.apache.http.entity.mime.content.ContentBody
|
|
|
|
new:
|
|
|
|
public org.apache.http.entity.mime.content.InputStreamBody extends org.apache.http.entity.mime.content.AbstractContentBody implements org.apache.james.mime4j.message.BinaryBody
|
|
|
|
Class changed: org.apache.http.entity.mime.content.StringBody
|
|
|
|
Methods removed:
|
|
|
|
public java.lang.String getMediaType();
|
|
|
|
public java.lang.String getMimeType();
|
|
|
|
public java.lang.String getSubType();
|
|
|
|
|
|
|
|
Methods added:
|
|
|
|
public StringBody(java.lang.String, java.lang.String, java.nio.charset.Charset) throws java.io.UnsupportedEncodingException;
|
|
|
|
|
|
|
|
Class descriptor changed:
|
|
|
|
old:
|
|
|
|
public org.apache.http.entity.mime.content.StringBody extends org.apache.james.mime4j.message.AbstractBody implements org.apache.james.mime4j.message.TextBody, org.apache.http.entity.mime.content.ContentBody
|
|
|
|
new:
|
|
|
|
public org.apache.http.entity.mime.content.StringBody extends org.apache.http.entity.mime.content.AbstractContentBody implements org.apache.james.mime4j.message.TextBody
|
|
|
|
API diff generated by JarDiff http://www.osjava.org/jardiff/
|
|
|
|
|
|
|
|
--------------------------------------
|
|
|
|
|
2008-08-19 14:03:52 -04:00
|
|
|
4.0 Beta 1
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
BETA1 release brings yet another round of API enhancements and
|
|
|
|
improvements in the area of connection management. Among the most notable
|
|
|
|
ones is the capability to handle stateful connections such as persistent
|
|
|
|
NTLM connections and private key authenticated SSL connections.
|
|
|
|
|
|
|
|
This is the first API stable release of HttpClient 4.0. All further
|
|
|
|
releases in the 4.0 code line will maintain API compatibility with this
|
|
|
|
release.
|
|
|
|
|
|
|
|
There has been a number of important bug fixes since ALPHA4. All upstream
|
|
|
|
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
|
|
|
-------------------
|
|
|
|
|
2008-08-12 08:53:49 -04:00
|
|
|
* [HTTPCLIENT-790] Protocol interceptors are now correctly invoked when
|
|
|
|
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
|
|
|
|
correctly handles stateful / user specific connections such as persistent
|
|
|
|
NTLM connections and SSL connections with client side authentication.
|
|
|
|
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
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
NTLM authentication remains the only missing major feature in the new
|
|
|
|
codeline that prevents us from moving awards the API freeze.
|
|
|
|
|
|
|
|
There has been a number of important bug fixes since ALPHA3. All upstream
|
|
|
|
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
|
|
|
-------------------
|
|
|
|
|
2008-05-11 09:01:02 -04:00
|
|
|
* [HTTPCLIENT-765] String.toLowerCase() / toUpperCase() should specify
|
|
|
|
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>
|
|
|
|
|
2008-04-21 15:14:23 -04:00
|
|
|
* [HTTPCLIENT-763] Fixed problem with AbstractClientConnAdapter#abortConnection()
|
|
|
|
not releasing the connection if called from the main execution thread while
|
|
|
|
there is no blocking I/O operation.
|
|
|
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
2008-04-17 13:50:13 -04:00
|
|
|
* [HTTPCLIENT-652] Added optional state attribute to managed client connections.
|
|
|
|
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>
|
|
|
|
|
2008-04-08 06:46:04 -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.
|
|
|
|
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>
|
|
|
|
|
2008-03-18 15:22:57 -04:00
|
|
|
* [HTTPCLIENT-759] Ensure release of connections back to the connection manager
|
|
|
|
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
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
ALPHA3 release brings another round of API refinements and improvements in
|
|
|
|
functionality. As of this release HttpClient requires Java 5 compatible
|
|
|
|
runtime environment and takes full advantage of generics and new concurrency
|
|
|
|
primitives.
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -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
|
|
|
|
or a strict cookie policy depending on the compliance level of the target host.
|
2007-10-30 12:58:16 -04:00
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
Another notable improvement is a completely reworked support for multipart
|
|
|
|
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
|
|
|
|
Contributed by Sam Berlin <sberlin at gmail.com> and
|
|
|
|
Oleg Kalnichevski <olegk at apache.org>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-667] Added 'Meta' cookie policy that selects a cookie
|
|
|
|
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
|
|
|
|
2008-04-26 05:55:02 -04:00
|
|
|
* [HTTPCLIENT-688] HttpOptions#getAllowedMethods can now handle multiple
|
|
|
|
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
|
|
|
|
2008-02-11 11:10:46 -05:00
|
|
|
ALPHA2 release is another milestone in the redesign of HttpClient. It includes
|
|
|
|
a number of improvements since ALPHA1, among which are improved connection
|
|
|
|
pooling, support for proxy chains, redesigned HTTP state and authentication
|
|
|
|
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
|
|
|
|
2008-02-11 11:10:46 -05: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
|
|
|
|
2008-02-11 11:10:46 -05:00
|
|
|
* [HTTPCLIENT-698] Resolve non-absolute redirect URIs relative to
|
|
|
|
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>
|
|
|
|
|
|
|
|
* [HTTPCLIENT-477] Use distinct instances of the authentication handler
|
|
|
|
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
|
|
|
|
2008-02-11 11:10:46 -05:00
|
|
|
* [HTTPCLIENT-666] Replaced HttpState with CredentialsProvier and CookieStore interfaces
|
|
|
|
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
|
|
|
|
|
|
|
* Cleaner, more flexible and expressive API
|
|
|
|
|
2007-07-13 09:37:46 -04:00
|
|
|
* Better performance and smaller memory footprint due to a more
|
|
|
|
efficient HTTP transport based on HttpCore. HttpClient 4.0 is
|
|
|
|
expected to be 10% to 25% faster than HttpClient 3.x codeline
|
|
|
|
|
2007-07-09 12:09:18 -04:00
|
|
|
* More modular structure
|
|
|
|
|
|
|
|
* Pluggable redirect and authentication handlers
|
|
|
|
|
|
|
|
* Support for protocol incerceptors
|
|
|
|
|
|
|
|
* Improved connection management
|
|
|
|
|
2007-07-13 09:37:46 -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
|
|
|
|
|
|
|
|
* More flexible SSL context customization
|
|
|
|
|
2007-07-10 06:41:41 -04:00
|
|
|
* Reduced intermediate garbage in the process of
|
|
|
|
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)
|
|
|
|
|
|
|
|
* Support for multipart MIME coded entities
|
|
|
|
|
|
|
|
-------------------
|
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
|
|
|
|
Long standing architectural problem. Issue opened on 15/Jul/2002.
|
|
|
|
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
|
|
|
|
handle redirects of entity enclosing requests.
|
|
|
|
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>
|
|
|
|
|