Commit Graph

826 Commits

Author SHA1 Message Date
Oleg Kalnichevski e9c8797108 Use String methods and constructors that require Charset instead of String
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1561066 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 17:04:04 +00:00
Oleg Kalnichevski 715a34c860 Use Java 1.6 String#isEmpty(); minor cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1561064 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 17:02:45 +00:00
Oleg Kalnichevski 594f2f4b62 Added missing @Override annotations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1561063 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 17:02:05 +00:00
Oleg Kalnichevski 54c767ee07 Upgraded project version to 4.4-alpha1-SNAPSHOT; upgraded minimal Java level to 1.6; re-enabled win atuh module
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1561061 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 17:00:08 +00:00
Oleg Kalnichevski b7291b4c32 HTTPCLIENT-1448: Add context information to NoHttpResponseException
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1559999 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 12:50:22 +00:00
Gary D. Gregory a718eee61c Upgraded HttpClient version to 4.3.3-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1559527 13f79535-47bb-0310-9956-ffa450edef68
2014-01-19 17:07:28 +00:00
Gary D. Gregory 205258b1f9 We have a concurrency bug in HttpCore 4.3.1 which will be addressed after HttpClient 4.3.2 is released.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558386 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 14:01:24 +00:00
Oleg Kalnichevski d1a2565df3 HTTPCLIENT-1447: clients created with HttpClients#createMinimal do not work with absolute URIs
Contributed by Joseph Walton <joe at kafsemo.org>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558353 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 12:19:06 +00:00
Gary D. Gregory fe84b2934c Add final modifier to local variables (exception catch).
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558064 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:56:59 +00:00
Gary D. Gregory 746bb7aea2 Add missing '@Override' annotations.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558059 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:48:56 +00:00
Gary D. Gregory a7caa74b1e Convert 'for' loops to enhanced 'for' loops.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558057 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:47:21 +00:00
Gary D. Gregory 9debe112db Convert control statement bodies to block.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558055 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:45:13 +00:00
Gary D. Gregory 2bc42458a2 The static fields in HttpCoreContext should be accessed directly.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558054 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:42:33 +00:00
Gary D. Gregory 17a5fa3e2c The static fields in HttpCoreContext should be accessed directly.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558052 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:42:05 +00:00
Gary D. Gregory 988b769bfd The static fields in HttpCoreContext should be accessed directly.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558051 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:41:37 +00:00
Gary D. Gregory 1dbd3e4fd5 The static fields in HttpCoreContext should be accessed directly.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558050 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:41:19 +00:00
Gary D. Gregory b840ce4951 Simplify: no need for extra branch.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558049 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:38:23 +00:00
Gary D. Gregory 48b34a5ab2 Redundant super-interface Serializable for the type BasicClientCookie2, already defined by BasicClientCookie.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558048 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:37:24 +00:00
Gary D. Gregory b6e32c9d44 Simplify: no need for so many branches.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558047 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:33:24 +00:00
Gary D. Gregory 061640e557 Javadoc: fix spelling.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558036 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 13:50:21 +00:00
Oleg Kalnichevski 1fe5fa3c2e HTTPCLIENT-1446: NTLM proxy + BASIC target auth fails with 'Unexpected state: MSG_TYPE3_GENERATED
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1557064 13f79535-47bb-0310-9956-ffa450edef68
2014-01-10 09:29:13 +00:00
Oleg Kalnichevski a86424fc43 HTTPCLIENT-1442: Authentication header set by the user gets removed in case of proxy authentication
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1548547 13f79535-47bb-0310-9956-ffa450edef68
2013-12-06 14:58:15 +00:00
Oleg Kalnichevski 9cc7c1acec HTTPCLIENT-1440: 'file' scheme in redirect location URI causes NPE.
Contributed by James Leigh <james at 3roundstones dot com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1546315 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 08:57:04 +00:00
Oleg Kalnichevski 92b7e8cd97 HTTPCLIENT-1119: SNI support (Oracle Java 1.7+ only).
Contributed by Bruno Harbulot <bruno at distributedmatter.net>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1544769 13f79535-47bb-0310-9956-ffa450edef68
2013-11-23 11:09:04 +00:00
Oleg Kalnichevski ebc83e74d2 HTTPCLIENT-1429: truncate long cookie values in WARN logs
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1539399 13f79535-47bb-0310-9956-ffa450edef68
2013-11-06 17:04:21 +00:00
Oleg Kalnichevski 0b3ef4b0d0 HTTPCLIENT-1432: Lazy decompressing of HttpEntity#getContent() to avoid EOFExceptionin case of an empty response with 'Content-Encoding: gzip' header.
Contributed by Yihua Huang <code4crafter at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1539302 13f79535-47bb-0310-9956-ffa450edef68
2013-11-06 10:37:54 +00:00
Oleg Kalnichevski f3a6831d47 HTTPCLIENT-1431: (Regression) deprecated connection manager cannot be used witha custom LayeredSchemeSocketFactory
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1539286 13f79535-47bb-0310-9956-ffa450edef68
2013-11-06 09:24:33 +00:00
Oleg Kalnichevski bcd41d700f HTTPCLIENT-1418: fixed class cast exception in HttpClientParamConfig#getRequestConfig
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1530309 13f79535-47bb-0310-9956-ffa450edef68
2013-10-08 15:30:13 +00:00
Oleg Kalnichevski 4f03bedbf8 HTTPCLIENT-1417: Fixed NPE in BrowserCompatSpec#formatCookies caused by version 1 cookies with null cookie value
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1530218 13f79535-47bb-0310-9956-ffa450edef68
2013-10-08 10:36:30 +00:00
Oleg Kalnichevski b83c1b9358 Upgraded HttpClient version to 4.3.2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529810 13f79535-47bb-0310-9956-ffa450edef68
2013-10-07 09:49:54 +00:00
Oleg Kalnichevski d6ffa5362c Updated HttpClient examples
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529450 13f79535-47bb-0310-9956-ffa450edef68
2013-10-05 13:24:29 +00:00
Oleg Kalnichevski 922d442ce9 SystemDefaultCredentialsProvider doesn't specify RequestorType.PROXY for proxy authentication requests (follow-up)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529435 13f79535-47bb-0310-9956-ffa450edef68
2013-10-05 11:22:15 +00:00
Oleg Kalnichevski 4282ad94e3 HTTPCLIENT-1413: Fixed divide by zero error in FutureRequestExecutionMetrics
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529295 13f79535-47bb-0310-9956-ffa450edef68
2013-10-04 20:54:49 +00:00
Oleg Kalnichevski cc6a57e04a HTTPCLIENT-1412: SystemDefaultCredentialsProvider doesn't specify RequestorType.PROXY for proxy authentication requests
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529291 13f79535-47bb-0310-9956-ffa450edef68
2013-10-04 20:45:22 +00:00
Oleg Kalnichevski cb89108e45 Javadoc tweaks
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529282 13f79535-47bb-0310-9956-ffa450edef68
2013-10-04 20:30:25 +00:00
Oleg Kalnichevski fea3c55520 [HTTPCLIENT-1410: Browser compatible hostname verifier no longer rejects *.co.<countrycode>, *.gov.<countrycode>, *.info.<countrycode>, etc as invalid
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1528744 13f79535-47bb-0310-9956-ffa450edef68
2013-10-03 08:25:58 +00:00
Oleg Kalnichevski 75937296d9 Fixed initialization of SSL supported protocols and cipher suites
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1528736 13f79535-47bb-0310-9956-ffa450edef68
2013-10-03 07:43:47 +00:00
Oleg Kalnichevski 08140864e3 Ensure X509HostnameVerifier is never null
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1528614 13f79535-47bb-0310-9956-ffa450edef68
2013-10-02 20:14:31 +00:00
Oleg Kalnichevski d9e2140b12 Ensure X509HostnameVerifier is never null
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1528447 13f79535-47bb-0310-9956-ffa450edef68
2013-10-02 12:41:38 +00:00
Oleg Kalnichevski 01bf4cdbb9 Removed unnecessary protocol interceptor from the proxy protocol processor
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1528327 13f79535-47bb-0310-9956-ffa450edef68
2013-10-02 07:42:42 +00:00
Oleg Kalnichevski eeb3f4f1ca HTTPCLIENT-1405: CONNECT HTTP/1.1 requests lack mandatory 'Host' header
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1528325 13f79535-47bb-0310-9956-ffa450edef68
2013-10-02 07:28:04 +00:00
Oleg Kalnichevski eeee0720b5 HTTPCLIENT-1402: Cache default User-Agent value
Contributed by yuexiaojun <junedo at qq.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1525568 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 12:27:30 +00:00
Oleg Kalnichevski 11536d3d07 HTTPCLIENT-1399: fixed NPE in RequestBuilder
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1523642 13f79535-47bb-0310-9956-ffa450edef68
2013-09-16 13:29:25 +00:00
Oleg Kalnichevski eff62c7a6e Upgraded HttpClient version to 4.3.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1521260 13f79535-47bb-0310-9956-ffa450edef68
2013-09-09 19:32:04 +00:00
Oleg Kalnichevski 7fb04c1853 Removed outdated content
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1519410 13f79535-47bb-0310-9956-ffa450edef68
2013-09-02 12:16:55 +00:00
Oleg Kalnichevski 6b5327c64b Removed website resources
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1519408 13f79535-47bb-0310-9956-ffa450edef68
2013-09-02 12:15:03 +00:00
Oleg Kalnichevski d6216b4257 HTTPCLIENT-1393: original request headers do not get copied over in case of multiple redirects
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1518298 13f79535-47bb-0310-9956-ffa450edef68
2013-08-28 17:49:46 +00:00
Oleg Kalnichevski c787841e42 Manually configured maven reports that are applicable to the given artifact
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1517799 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 12:04:46 +00:00
Oleg Kalnichevski c1a065aec5 Fixed javadoc plugin configuration
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1517798 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 12:04:15 +00:00
Oleg Kalnichevski 196da4249d Fixed binary compatibility breakage
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1515812 13f79535-47bb-0310-9956-ffa450edef68
2013-08-20 13:10:34 +00:00