Commit Graph

1769 Commits

Author SHA1 Message Date
Oleg Kalnichevski ea62c7fb5e Added constructors to RequestBuilder; added to EntityBuilder
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1397679 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 18:44:13 +00:00
Oleg Kalnichevski 53d1180530 HTTPCLIENT-1248: make a copy of the original request when creating a redirect request for status 307
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1397085 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 14:36:52 +00:00
Oleg Kalnichevski 46aca9def4 HTTPCLIENT-1248: Default and lax redirect strategies should not convert requests redirected with 307 status to GET method
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1396793 13f79535-47bb-0310-9956-ffa450edef68
2012-10-10 20:51:30 +00:00
Oleg Kalnichevski 15301ffbba CloneUtils cleanup
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1396792 13f79535-47bb-0310-9956-ffa450edef68
2012-10-10 20:51:06 +00:00
Oleg Kalnichevski dedc1575c5 HTTPCLIENT-1215: BasicAuthCache does not take default ports into consideration when looking up cached authentication details by HttpHost key
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1396748 13f79535-47bb-0310-9956-ffa450edef68
2012-10-10 19:14:10 +00:00
Oleg Kalnichevski 05b0a00f9c HTTPCLIENT-1247: DateUtils.PATTERN_RFC1036 contains an extra 'E'
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1396527 13f79535-47bb-0310-9956-ffa450edef68
2012-10-10 09:51:41 +00:00
Oleg Kalnichevski 9a74e028e0 Moved HttpClient benchmark to new location
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1396245 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 19:52:59 +00:00
Oleg Kalnichevski e38de5d125 Moved HttpClient contrib to new location
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1396241 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 19:50:57 +00:00
Oleg Kalnichevski 43d4e8f469 HTTPCLIENT-1244: relaxed EasyMock based unit tests in the Caching module
Contributed by Joe Campbell <joseph.r.campbell at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1395613 13f79535-47bb-0310-9956-ffa450edef68
2012-10-08 15:26:50 +00:00
Oleg Kalnichevski 639cc93c56 HTTPCLIENT-1241: (regression) Preemptive BASIC authentication failure should be considered final and no further attempts to re-authenticate using the same credentials should be made
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1393991 13f79535-47bb-0310-9956-ffa450edef68
2012-10-04 11:19:59 +00:00
Oleg Kalnichevski aa82dc28ee HTTPCLIENT-1239: Support for overridable DefaultHttpServerConnection in LocalTestServer
Contributed by Okke Harsta <oharsta at apache.org>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1393540 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 15:28:08 +00:00
Gary D. Gregory 5f9ab2e161 Add .externalToolBuilders folder and maven-eclipse.xml to SVN ignore list.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1393155 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 20:18:07 +00:00
Gary D. Gregory 55ffb87372 Add .externalToolBuilders folder to SVN ignore list.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1393154 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 20:17:30 +00:00
Oleg Kalnichevski c9829f5ac0 HTTPCLIENT-1237: PoolingClientConnectionManager should only update pool expiry for resuable connections
Contributed by Alf Høgemark <alf at i100.no>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1390317 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 08:15:00 +00:00
Oleg Kalnichevski 8e452a0159 HTTPCLIENT-1236: Change exception message when timeout getting connection from pool
Contributed by Alf Høgemark <alf at i100.no>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1390316 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 08:14:18 +00:00
Oleg Kalnichevski 57c323a09d HTTPCLIENT-1235: Add javadoc to Executor to explain that response must be handled to avoid connection leakage
Contributed by Alf Høgemark <alf at i100.no>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1390314 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 08:12:40 +00:00
Oleg Kalnichevski 7985a45e97 HTTPCLIENT-1231, HTTPCLIENT-1232: javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1383865 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 09:28:12 +00:00
Oleg Kalnichevski ee5bc9b600 HTTPCLIENT-1230: improved javadocs of BasicClientConnectionManager
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1382450 13f79535-47bb-0310-9956-ffa450edef68
2012-09-09 11:07:08 +00:00
Oleg Kalnichevski 4d38bede89 HTTPCLIENT-1229: Fixed NPE in BasicClientConnectionManager that can be triggered by releasing connection after the connection manager has already been shut down
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1382442 13f79535-47bb-0310-9956-ffa450edef68
2012-09-09 10:41:41 +00:00
Oleg Kalnichevski e42006ea27 SchemeRegistry instance set in the execution context takes precedence over the default one (related to HTTPASYNC-25)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1382350 13f79535-47bb-0310-9956-ffa450edef68
2012-09-08 19:56:35 +00:00
Oleg Kalnichevski 90b8646309 HTTPCLIENT-1227: Date parsing in DateUtils made more efficient
Contributed by Patrick Linskey <pcl at apache.org>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1378935 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 13:35:05 +00:00
Oleg Kalnichevski e29551b32d HTTPCLIENT-1224: (regression) NTLM auth not retried after a redirect over a non-persistent connection (merged from 4.2.x branch)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1376852 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 08:05:44 +00:00
Jonathan Moore b7d1d69ef6 HTTPCLIENT-1223: Forward port from 4.2.X branch to trunk.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1376181 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 18:31:52 +00:00
Oleg Kalnichevski 16a63149e1 Fixed HC Fluent artifact ID on the download page
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1375999 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 11:29:31 +00:00
Oleg Kalnichevski 320fae656f Replaced HttpRoutedConnection with HttpSSLConnection interface
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1371171 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 11:42:19 +00:00
Oleg Kalnichevski 2fa4b6b854 Merged decorator-refactoring branch
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1370953 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 20:35:13 +00:00
Oleg Kalnichevski 8ef44683ba Upgraded project version to 4.3-alpha1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1369849 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 13:59:21 +00:00
Gary D. Gregory de80f40ae9 [HTTPCLIENT-1220] Add DecompressingHttpClient#getHttpClient().
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1369844 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 13:42:50 +00:00
Gary D. Gregory ccdebd9384 [HTTPCLIENT-1221] Add DecompressingHttpClient 0-arg constructor using the DefaultHttpClient.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1369841 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 13:32:35 +00:00
Gary D. Gregory ceb7ebcc01 Add Eclipse and Eclipse-Maven files to svn:ingnore.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1369820 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 12:40:52 +00:00
Gary D. Gregory 2f99757767 Add Eclipse and Eclipse-Maven files to svn:ingnore.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1369819 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 12:40:06 +00:00
Gary D. Gregory f8363b4e05 Add Eclipse and Eclipse-Maven files to svn:ingnore.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1369815 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 12:37:03 +00:00
Oleg Kalnichevski bc79591574 HTTPCLIENT-1217: AutoRetryHttpClient does not release connection used by the previous response when request is retried
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1364406 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 19:38:40 +00:00
Oleg Kalnichevski 898b33ac21 HTTPCLIENT-1216: Added method to force clean thread-local used by DateUtils
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1364276 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 12:20:27 +00:00
Oleg Kalnichevski ba18ddbaca Make custom query component and form parameters mutually exclusive
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1359140 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 13:07:10 +00:00
Oleg Kalnichevski d545fdd180 Deprecated #setQuery method; added method to set arbitrary custom query component
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1356775 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 15:02:44 +00:00
Oleg Kalnichevski 9a17be0126 HTTPCLIENT-1211: corrected code snippets in the connection management section of the tutorial
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1356671 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 11:27:28 +00:00
Oleg Kalnichevski b7f85c1af7 Upgraded project version to 4.2.2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1356623 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 08:52:49 +00:00
Oleg Kalnichevski 8a19a0e2b9 Escape non-ASCII chars using \uxxxx notation
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1355754 13f79535-47bb-0310-9956-ffa450edef68
2012-06-30 16:01:56 +00:00
Oleg Kalnichevski 8550f02238 Fixed grammatical error in release notes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1355406 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 14:31:21 +00:00
Oleg Kalnichevski 2706c4b463 Added Quick Start sources; fixed release notes header
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1355393 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 13:59:57 +00:00
Oleg Kalnichevski d0384ac811 Updated release notes and download page for HttpClient 4.2.1 release
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1354507 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 13:59:14 +00:00
Oleg Kalnichevski a9fe305cda HTTPCLIENT-1201: removed catch clauses for brevity
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1354387 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 09:33:37 +00:00
Oleg Kalnichevski 0b02fc11fd HTTPCLIENT-1201: Quick start doc improvements
Contributed by miles zarathustra <albert.bradley at thomsonreuters.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1354386 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 09:29:20 +00:00
Sebastian Bazley 413c41202b HTTPCLIENT-1195 - URIBuilder-created query strings are double-escaped
Add [ ] to reserved chars
Use separate safe sets for userinfo and fragment

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1354288 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 23:23:21 +00:00
Sebastian Bazley caade0db95 Add test to check that builder behaves the same as URI
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1354115 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 17:17:05 +00:00
Sebastian Bazley 518e6da29d Change form encoded escaping to agree with previous release and browsers
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1354111 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 17:05:00 +00:00
Sebastian Bazley f32198b1fb Javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1354053 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 15:10:16 +00:00
Sebastian Bazley 54f6fbf596 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1354046 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 14:57:30 +00:00
Sebastian Bazley 4efc8af634 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1353782 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 00:25:44 +00:00