HTTPCLIENT-889: 'expect: continue' handshake disabled per default
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@883868 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4425aaef77
commit
9d55b80d47
|
@ -1,6 +1,9 @@
|
||||||
Changes since 4.0
|
Changes since 4.0
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
|
* [HTTPCLIENT-889] 'expect: continue' handshake disabled per default.
|
||||||
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
||||||
|
|
||||||
* [HTTPCLIENT-862] Extended client's redirect handling interface to allow
|
* [HTTPCLIENT-862] Extended client's redirect handling interface to allow
|
||||||
control of the content of the redirect.
|
control of the content of the redirect.
|
||||||
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
||||||
|
|
|
@ -194,8 +194,6 @@ public class DefaultHttpClient extends AbstractHttpClient {
|
||||||
HttpVersion.HTTP_1_1);
|
HttpVersion.HTTP_1_1);
|
||||||
HttpProtocolParams.setContentCharset(params,
|
HttpProtocolParams.setContentCharset(params,
|
||||||
HTTP.DEFAULT_CONTENT_CHARSET);
|
HTTP.DEFAULT_CONTENT_CHARSET);
|
||||||
HttpProtocolParams.setUseExpectContinue(params,
|
|
||||||
true);
|
|
||||||
HttpConnectionParams.setTcpNoDelay(params,
|
HttpConnectionParams.setTcpNoDelay(params,
|
||||||
true);
|
true);
|
||||||
HttpConnectionParams.setSocketBufferSize(params,
|
HttpConnectionParams.setSocketBufferSize(params,
|
||||||
|
|
Loading…
Reference in New Issue