Commit Graph

2214 Commits

Author SHA1 Message Date
Oleg Kalnichevski 4db8167981 Cleaned up HttpRoute
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1511446 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 19:20:18 +00:00
Oleg Kalnichevski e40168d06c Unit tests for MainClientExec
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1511445 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 19:20:05 +00:00
Oleg Kalnichevski d90302ed14 Upgraded HttpCore to version 4.3
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1510886 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 08:53:13 +00:00
Oleg Kalnichevski fc8df4ef2a Improved test coverage for classes added in 4.3
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1508949 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 16:29:35 +00:00
Oleg Kalnichevski f69b8a3472 Removed references to deprecated code
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1508013 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 12:29:18 +00:00
Oleg Kalnichevski 834d5e66da Deprecated SSLSocketFactory in favor of SSLConnectionSocketFactory
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1507677 13f79535-47bb-0310-9956-ffa450edef68
2013-07-27 15:59:36 +00:00
Oleg Kalnichevski e7d9978f26 Moved deprecated classes to a separate scr folder
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1507633 13f79535-47bb-0310-9956-ffa450edef68
2013-07-27 13:16:37 +00:00
Oleg Kalnichevski 914c9ceba6 Fixed check style violations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1505609 13f79535-47bb-0310-9956-ffa450edef68
2013-07-22 07:21:36 +00:00
Sebastian Bazley 4aa221dd54 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1505483 13f79535-47bb-0310-9956-ffa450edef68
2013-07-21 22:28:14 +00:00
Sebastian Bazley 4790be3c56 The final keyword should the the final keyword!
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1501015 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 23:39:18 +00:00
Oleg Kalnichevski b524b797c4 Follow up to HTTPCLIENT-1383: fixes another infinite loop in case of an out of sequence NTLM response
Contributed by Ricardo Pereira <thc202 at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1500629 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 09:28:50 +00:00
Oleg Kalnichevski 9385b90c0a Follow up to HTTPCLIENT-1383: fixes another infinite loop in case of an out of sequence NTLM response
Contributed by Ricardo Pereira <thc202 at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1500407 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 11:29:06 +00:00
Oleg Kalnichevski bb902afa4f Follow up to HTTPCLIENT-1381: fixes another NPE
Contributed by Ricardo Pereira <thc202 at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1500401 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 10:20:33 +00:00
Oleg Kalnichevski f17ef0ad11 HTTPCLIENT-1381: tolerate null NT domain and host
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1500276 13f79535-47bb-0310-9956-ffa450edef68
2013-07-06 14:12:55 +00:00
Oleg Kalnichevski 6b0fdc74cc HTTPCLIENT-1383: HttpClient enters an infinite loop during NTLM authentication if the opposite endpoint keeps responding with a type 2 NTLM response after type 3 MTLM message has already been sent by the client
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1500275 13f79535-47bb-0310-9956-ffa450edef68
2013-07-06 14:12:43 +00:00
Oleg Kalnichevski 86e8b3d840 HTTPCLIENT-1382: fixed invalid default scheme registration in BasicHttpClientConnectionManager
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1499978 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 12:01:24 +00:00
Francois-Xavier Bonnet 981aa247d7 HTTPCLIENT-1361: stale-while-revalidate should work also without last-modified nor etag
HTTPCLIENT-1368: stale-if-error request cache directive should also apply to non-revalidatable cache entries

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1499502 13f79535-47bb-0310-9956-ffa450edef68
2013-07-03 18:11:35 +00:00
Oleg Kalnichevski efe3d7d7e2 HTTPCLIENT-1379: added X509HostnameVerifier setter to HttpClientBuilder
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1498955 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 14:32:47 +00:00
Oleg Kalnichevski 47f900a03f Fixed maven checkstyle config; fixed format violations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1495818 13f79535-47bb-0310-9956-ffa450edef68
2013-06-23 14:07:22 +00:00
Oleg Kalnichevski 9056303b5c Post HTTPCLIENT-1372 cleanups; all multipart entity generation logic moved to MultipartEntityBuilder
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1495409 13f79535-47bb-0310-9956-ffa450edef68
2013-06-21 12:28:58 +00:00
Karl Wright f596896b32 Add RFC6532 multipart mode, and supporting tests and classes. Finishes HTTPCLIENT-1372.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1495189 13f79535-47bb-0310-9956-ffa450edef68
2013-06-20 21:09:23 +00:00
Oleg Kalnichevski 1dd6b90374 Removed code duplication between deprecated HttpMultipart and AbstractMultipartForm; made AbstractMultipartForm and its super classes package private
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1495134 13f79535-47bb-0310-9956-ffa450edef68
2013-06-20 19:06:33 +00:00
Oleg Kalnichevski 4ab2f9494a Enhanced SSLContextBuilder; added PrivateKeyStrategy interface to enable customization of private key selection; more SSL test cases
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1495022 13f79535-47bb-0310-9956-ffa450edef68
2013-06-20 14:34:37 +00:00
Karl Wright 74213fa419 Refactoring, in preparation for functional pieces for HTTPCLIENT-1372.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1494902 13f79535-47bb-0310-9956-ffa450edef68
2013-06-20 09:59:33 +00:00
Oleg Kalnichevski eeba3e364d SSL test case cleanup
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1494878 13f79535-47bb-0310-9956-ffa450edef68
2013-06-20 07:18:52 +00:00
Oleg Kalnichevski 594f24cf05 HTTPASYNC-46: HttpClient cache test cases can be shared with HttpAsyncClient
Contributed by James Leigh <james at 3roundstones.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1494755 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 19:50:02 +00:00
Oleg Kalnichevski 2e72fffacf HTTPCLIENT-1377: User principal for non-NTLM authentication is incorrectly generated when using user credentials are specified as NTCredentials
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1494747 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 19:39:44 +00:00
Oleg Kalnichevski c72ac38d2e HTTPCLIENT-1374: Added public default ManagedHttpClientConnection impl
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1494675 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 16:07:10 +00:00
Sebastian Bazley 3956b9f30f Wrong field used; config parameter can be null which would cause NPE here
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1493755 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 13:23:02 +00:00
Sebastian Bazley 0533ce7c53 Remove unthrown exceptions from private and package methods
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1493752 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 13:15:48 +00:00
Sebastian Bazley ea9662ee39 Spurious @return
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1493751 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 13:15:05 +00:00
Oleg Kalnichevski b833be807d Changed to use shared checkstyle config v1
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1493402 13f79535-47bb-0310-9956-ffa450edef68
2013-06-15 17:18:01 +00:00
Oleg Kalnichevski dc3b8d47fb HTTPCLIENT-1374: Added route parameter to HttpConnectionFactory
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1493350 13f79535-47bb-0310-9956-ffa450edef68
2013-06-15 12:50:56 +00:00
Gary D. Gregory e208df7fc7 Update Apache Commons Logging to 1.1.3 from 1.1.1.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1492878 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 21:40:33 +00:00
Gary D. Gregory 853149b711 Add .pmd files to svn:ignore.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1492875 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 21:26:03 +00:00
Oleg Kalnichevski 56b7cbe159 Upgraded project version to 4.3-beta3-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1492097 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 07:51:45 +00:00
Oleg Kalnichevski 7a33d56a69 Fixed race condition in TestFutureRequestExecutionService#shouldExecuteMultipleCallsAndCallback
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1491891 13f79535-47bb-0310-9956-ffa450edef68
2013-06-11 18:14:10 +00:00
Oleg Kalnichevski ab9452fd98 Fixed client config example
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1491802 13f79535-47bb-0310-9956-ffa450edef68
2013-06-11 14:10:47 +00:00
Oleg Kalnichevski 656c6ecedc Removed #executeMultiple from FutureRequestExecutionService
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1491801 13f79535-47bb-0310-9956-ffa450edef68
2013-06-11 14:10:31 +00:00
Oleg Kalnichevski b1c387e986 Style-check to enforce unused import and final variable checks
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1491511 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 15:52:49 +00:00
Sebastian Bazley 69057e17ba Set mime-type
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1491211 13f79535-47bb-0310-9956-ffa450edef68
2013-06-09 13:06:01 +00:00
Sebastian Bazley 0a2c31d8fe Eol style settings
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1491210 13f79535-47bb-0310-9956-ffa450edef68
2013-06-09 13:02:37 +00:00
Oleg Kalnichevski 27b57bf561 Updated HttpClient 4.3-beta2 release notes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1490993 13f79535-47bb-0310-9956-ffa450edef68
2013-06-08 14:36:12 +00:00
Oleg Kalnichevski 1e98030f74 Updated project web site for HttpClient 4.3-beta2 release
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1490992 13f79535-47bb-0310-9956-ffa450edef68
2013-06-08 14:36:03 +00:00
Sebastian Bazley 96fb80f5e8 Cannot use anchors as Figure captions (e.g. alt tags)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1490809 13f79535-47bb-0310-9956-ffa450edef68
2013-06-07 20:11:14 +00:00
Jonathan Moore 908b81dd5a HTTPCLIENT-1353: 303 redirects should be cacheable
Commit of patch #1 to synchronous client from James Leigh
<james at 3roundstones dot com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1490448 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 21:25:04 +00:00
Gary D. Gregory aa09b30167 [HTTPCLIENT-1366] org.apache.http.client.utils.URLEncodedUtils should parse the semicolon as a query parameter separator. Contributed by Gary Gregory <ggregory at apache.org>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1490331 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 16:00:05 +00:00
Gary D. Gregory cc604018b9 Fix method declaration format from 'method ()' to 'method()'.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1490310 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 14:51:15 +00:00
Gary D. Gregory 52ddef91fa [HTTPCLIENT-1365] NPE when ManagedHttpClientConnectionFactory.create(ConnectionConfig) is called with null. Contributed by Gary Gregory <ggregory at apache.org>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1490299 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 14:31:08 +00:00
Gary D. Gregory 531ac65cc9 Fix BETA label from "1" to "2".
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1490289 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 13:59:41 +00:00