Gary Gregory
61529d1f88
Checkstyle fixes: Use final and tab police.
2017-07-12 17:29:17 -07:00
Gary Gregory
6156eb1f0f
Add final modifier to private fields.
2017-07-12 17:12:52 -07:00
Gary D. Gregory
ce237ae735
Make this header look like the Java header.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1794481 13f79535-47bb-0310-9956-ffa450edef68
2017-05-13 11:08:38 +02:00
Gary D. Gregory
a54bee2c7e
[HTTPCLIENT-1845]: Extract InputStreamFactory classes out of GzipDecompressingEntity and DeflateDecompressingEntity for reuse and to create less garbage.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1794442 13f79535-47bb-0310-9956-ffa450edef68
2017-05-13 11:08:37 +02:00
Gary D. Gregory
288a91cc54
Replace @exception with the more modern @throws.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1792679 13f79535-47bb-0310-9956-ffa450edef68
2017-05-13 11:08:37 +02:00
Gary D. Gregory
c58288c9af
[HTTPCLIENT-1836] DefaultHostnameVerifier#getSubjectAltNames(X509Certificate) throws java.lang.ClassCastException.
...
Contributed by Gary Gregory <ggregory at apache.org>, Ilian Iliev <ilian_iliev at yahoo.com>
2017-05-13 11:08:37 +02:00
Gary D. Gregory
54a2fb2662
Statement unnecessarily nested within else clause.
2017-05-13 11:08:25 +02:00
Gary D. Gregory
c5c10f5e9e
Use final.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1788706 13f79535-47bb-0310-9956-ffa450edef68
2017-05-13 11:07:09 +02:00
Oleg Kalnichevski
2635028db0
HTTPCLIENT-1835: evictExpiredConnections no longer causes the evictIdleConnections behaviour to be enabled when evictIdleConnections is not explicitly enabled
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1788066 13f79535-47bb-0310-9956-ffa450edef68
2017-05-13 11:07:09 +02:00
Oleg Kalnichevski
d6bfb3df9c
HTTPCLIENT-1830: await termination of the IdleConnectionEvictor when it is shut down
...
Contributed by Liam Williams <liam.williams at zoho.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1787980 13f79535-47bb-0310-9956-ffa450edef68
2017-05-13 11:07:09 +02:00
Oleg Kalnichevski
fe3a913e6b
HTTPCLIENT-1831: URIBuilder should not prepend a leading slash to relative URIs
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1787739 13f79535-47bb-0310-9956-ffa450edef68
2017-05-13 11:07:09 +02:00
Karl Wright
44f8924b58
HTTPCLIENT-1834: NTLN auth refactoring; support for MS CredSsp auth
...
Contributed by Radovan Semancik <radovan.semancik at evolveum.com> and Karl Wright <kwright at apache.org>
2017-05-13 11:07:02 +02:00
Gary D. Gregory
7ff6b6c438
[HTTPCLIENT-1817] Add a "Trust All" TrustStrategy implementation.
2017-05-12 21:52:22 +02:00
Oleg Kalnichevski
9c26858924
HTTPCLIENT-1810: When path is null or '', URIBuilder.toString() return '' rather than '/'.
...
Contributed by CuiBaosen <baosencumt at 126.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1782238 13f79535-47bb-0310-9956-ffa450edef68
2017-02-08 19:37:31 +00:00
Oleg Kalnichevski
ef95068aef
Upgraded HttpClient version to 4.5.4-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1780344 13f79535-47bb-0310-9956-ffa450edef68
2017-01-26 09:53:49 +00:00
Oleg Kalnichevski
0554271750
HTTPCLIENT-1803: Improved handling of malformed paths by URIBuilder
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1779735 13f79535-47bb-0310-9956-ffa450edef68
2017-01-21 14:43:44 +00:00
Oleg Kalnichevski
6e4759800f
HTTPCLIENT-1802: Do not attempt to match SSL host to subject CN if subject alternative name of any type are given
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1779668 13f79535-47bb-0310-9956-ffa450edef68
2017-01-20 19:20:31 +00:00
Oleg Kalnichevski
b88ab92f7b
HTTPCLIENT-1788: RFC 6265 policy must not reject cookies with paths that are no prefix of the uri path
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1778459 13f79535-47bb-0310-9956-ffa450edef68
2017-01-12 19:20:44 +00:00
Oleg Kalnichevski
bc5d688a4f
HTTPCLIENT-1792: SSLConnectionSocketFactory to throw SSLPeerUnverifiedException with a better error message when hostname verification fails
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1778409 13f79535-47bb-0310-9956-ffa450edef68
2017-01-12 10:07:29 +00:00
Oleg Kalnichevski
e8002ae3b9
HTTPCLIENT-1800: wrap redirect around retry in execChain
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1777766 13f79535-47bb-0310-9956-ffa450edef68
2017-01-07 11:30:28 +00:00
Oleg Kalnichevski
0514407d8c
Upgraded HttpCore to version 4.4.5
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1770506 13f79535-47bb-0310-9956-ffa450edef68
2016-11-19 16:40:54 +00:00
Oleg Kalnichevski
49fee5cf4e
HTTPCLIENT-1767: Null pointer dereference in EofSensorInputStream and ResponseEntityProxy
...
EofSensorInputStream is generating NullPointerExceptions in some rare situations. This commit fixes that behaviour for the check methods by dereferencing the instance variable to a final local variable to ensure that if it is not null at the null guard, that it will be not null after that point also to successfully close/abort the stream
In some rare cases, null parameters are sent to ReponseEntityProxy methods, this adds checks on those to ensure that the connections are still released, but the null variable is not dereferenced.
Contributed by Peter Ansell <p_ansell@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1760586 13f79535-47bb-0310-9956-ffa450edef68
2016-09-13 18:33:02 +00:00
Oleg Kalnichevski
8b5642ae92
Support changing system default ProxySelector
...
Contributed by Robin Stevens <stevensro at gmail.com>
The `ProxySelectorRoutePlanner` class which got deprecated in favor of the `SystemDefaultRoutePlanner` could deal with:
- `null` as default `ProxySelector`
- a change in the default `ProxySelector`
This change ports that behavior to the `SystemDefaultRoutePlanner`.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1758107 13f79535-47bb-0310-9956-ffa450edef68
2016-08-28 13:03:02 +00:00
Oleg Kalnichevski
7870698373
Typo in comment
...
Contributed by Robin Stevens <stevensro at gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1758105 13f79535-47bb-0310-9956-ffa450edef68
2016-08-28 12:47:29 +00:00
Oleg Kalnichevski
d2b106f8a0
HTTPCLIENT-1760: added protected methods to enumerate leased and available connections to PoolingHttpClientConnectionManager
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1756277 13f79535-47bb-0310-9956-ffa450edef68
2016-08-13 15:28:07 +00:00
Oleg Kalnichevski
900d96fbef
Fixed build breakage due to Java 1.6 incompatibility
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1747894 13f79535-47bb-0310-9956-ffa450edef68
2016-06-11 14:22:08 +00:00
Oleg Kalnichevski
5a9a842d23
HTTPCLIENT-1747: apply RequestConfig defaults when using HttpParams values in backward compatibility mode
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1747724 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 14:38:35 +00:00
Oleg Kalnichevski
b9ffaad9c7
Override LaxRedirectStrategy's INSTANCE field
...
Surprisingly LaxRedirectStrategy.INSTANCE returns the instance of
DefaultRedirectStrategy. Override the INSTANCE field to return
LaxRedirectStrategy instead. Also add unit tests to LaxRedirectStrategy.
Contributed by Eric Wu <ericwuyi at gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1746752 13f79535-47bb-0310-9956-ffa450edef68
2016-06-03 19:43:48 +00:00
Oleg Kalnichevski
324218e8e6
HTTPCLIENT-1746: improved argument validation in URLEncodedUtils
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1746749 13f79535-47bb-0310-9956-ffa450edef68
2016-06-03 19:30:30 +00:00
Oleg Kalnichevski
572fd4cd9c
HTTPCLIENT-1736: do not request cred delegation by default when using Kerberos auth
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1746747 13f79535-47bb-0310-9956-ffa450edef68
2016-06-03 19:21:14 +00:00
Oleg Kalnichevski
b52a623ccf
Cleaned up comments
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1745909 13f79535-47bb-0310-9956-ffa450edef68
2016-05-28 17:02:01 +00:00
Oleg Kalnichevski
951d6d1bfd
HTTPCLIENT-1744: normalize hostname and certificate CN when matching to CN
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1745908 13f79535-47bb-0310-9956-ffa450edef68
2016-05-28 17:01:12 +00:00
Oleg Kalnichevski
cbf517ace6
HTTPCLIENT-1732: SystemDefaultCredentialsProvider to take http.proxyHost and http.proxyPort system properties into account
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1737485 13f79535-47bb-0310-9956-ffa450edef68
2016-04-02 10:26:41 +00:00
Oleg Kalnichevski
7e38f831d5
HTTPCLIENT-1730: javadoc improvements
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1736192 13f79535-47bb-0310-9956-ffa450edef68
2016-03-22 14:05:37 +00:00
Oleg Kalnichevski
1b41b52b14
Revert "HTTPCLIENT-1712: SPNego schemes to take service scheme into account when generating auth token"
...
This reverts commit 1d50c1a1a1
.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1735108 13f79535-47bb-0310-9956-ffa450edef68
2016-03-15 15:26:32 +00:00
Oleg Kalnichevski
8f3829334d
HTTPCLIENT-1729: javadoc fix
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1733927 13f79535-47bb-0310-9956-ffa450edef68
2016-03-07 13:52:07 +00:00
Gary D. Gregory
eda8dc5d32
[HTTPCLIENT-1727] org.apache.http.impl.client.AbstractHttpClient#createClientConnectionManager Does not account for context class loader.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1733406 13f79535-47bb-0310-9956-ffa450edef68
2016-03-03 01:59:34 +00:00
Oleg Kalnichevski
7663e6a596
HTTPCLIENT-1726: Copy the SNI fix from SSLConnectionSocketFactory to the deprecated SSLSocketFactory class.
...
Signed-off-by: David Black <dblack@atlassian.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1733362 13f79535-47bb-0310-9956-ffa450edef68
2016-03-02 20:47:19 +00:00
Gary D. Gregory
5a60e7f948
Comment empty blocks.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1733179 13f79535-47bb-0310-9956-ffa450edef68
2016-03-01 22:40:20 +00:00
Gary D. Gregory
0cb0a3dea1
Remove useless semicolon.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1733178 13f79535-47bb-0310-9956-ffa450edef68
2016-03-01 22:36:44 +00:00
Oleg Kalnichevski
85b0047f6e
Upgraded HttpClient version to 4.5.3-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1732457 13f79535-47bb-0310-9956-ffa450edef68
2016-02-26 11:39:03 +00:00
Oleg Kalnichevski
600b4cadf3
Javadoc fix
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1731528 13f79535-47bb-0310-9956-ffa450edef68
2016-02-21 13:28:24 +00:00
Gary D. Gregory
ac5e71b6aa
Add final modifier to local variables.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1726971 13f79535-47bb-0310-9956-ffa450edef68
2016-01-27 09:04:42 +00:00
Gary D. Gregory
9d5dde271f
Add final modifier to private fields.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1726967 13f79535-47bb-0310-9956-ffa450edef68
2016-01-27 09:00:25 +00:00
Gary D. Gregory
8a27962f79
Add missing @Override annotations.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1726962 13f79535-47bb-0310-9956-ffa450edef68
2016-01-27 08:51:00 +00:00
Gary D. Gregory
fb27bd7353
Add missing @Deprecated annotations.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1726958 13f79535-47bb-0310-9956-ffa450edef68
2016-01-27 08:43:17 +00:00
Gary D. Gregory
517e64778f
[HTTPCLIENT-1715] NTLMEngineImpl.Type1Message not thread safe but declared as a constant.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1726957 13f79535-47bb-0310-9956-ffa450edef68
2016-01-27 08:34:23 +00:00
Gary D. Gregory
3a9a452730
[HTTPCLIENT-1714] Add HttpClientBuilder.setDnsResolver(DnsResolver).
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1726729 13f79535-47bb-0310-9956-ffa450edef68
2016-01-26 05:12:27 +00:00
Oleg Kalnichevski
1d50c1a1a1
HTTPCLIENT-1712: SPNego schemes to take service scheme into account when generating auth token
...
Contributed by Georg Romstorfer <georg.romstorfer at gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1724852 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 16:38:07 +00:00
Oleg Kalnichevski
b781fa8e03
HTTPCLIENT-1700: Netscape draft, browser compatibility, RFC 2109, RFC 2965 and default cookie specs to ignore cookies with empty name for consistency with RFC 6265 specs
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1722959 13f79535-47bb-0310-9956-ffa450edef68
2016-01-04 20:22:48 +00:00
Oleg Kalnichevski
f9514a0f9a
Fix for HTTPCORE-397
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1722952 13f79535-47bb-0310-9956-ffa450edef68
2016-01-04 19:55:16 +00:00
Oleg Kalnichevski
148b7d5105
Set socker buffer send/receive sizes from SocketConfig
...
Contributed by Will Vuong <wvuong at chariotsolutions.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1720386 13f79535-47bb-0310-9956-ffa450edef68
2015-12-16 16:19:13 +00:00
Oleg Kalnichevski
79fdcb7dcb
HTTPCLIENT-1704: IgnoreSpec#match to always return false
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1719950 13f79535-47bb-0310-9956-ffa450edef68
2015-12-14 16:27:26 +00:00
Oleg Kalnichevski
1c151cf38a
HTTPCLIENT-1550: fixed 'deflate' zlib header check
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1717323 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 20:34:24 +00:00
Oleg Kalnichevski
1b0cf671f2
HTTPCLIENT-1698: Fixed matching of IPv6 addresses by DefaultHostnameVerifier
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1716972 13f79535-47bb-0310-9956-ffa450edef68
2015-11-28 13:25:56 +00:00
Oleg Kalnichevski
cd8c72626f
HTTPCLIENT-1695: RFC 6265 compliant cookie spec to ignore cookies with empty name / missing value
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1714365 13f79535-47bb-0310-9956-ffa450edef68
2015-11-14 20:45:32 +00:00
Oleg Kalnichevski
549c26f958
HTTPCLIENT-1216: removed ThreadLocal subclass from DateUtils
...
Contributed by Jochen Kemnade <jochen.kemnade at eddyson.de>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1713429 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 13:18:30 +00:00
Oleg Kalnichevski
2f062b3b43
HTTPCLIENT-1685: PublicSuffixDomainFilter to ignore local hosts and local domains (follow-up)
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1706582 13f79535-47bb-0310-9956-ffa450edef68
2015-10-03 13:46:01 +00:00
Oleg Kalnichevski
e3232f5425
HTTPCLIENT-1685: PublicSuffixDomainFilter to ignore local hosts and local domains
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1706576 13f79535-47bb-0310-9956-ffa450edef68
2015-10-03 13:07:21 +00:00
Oleg Kalnichevski
b6c1516e61
Upgraded HttpClient version to 4.5.2-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1703168 13f79535-47bb-0310-9956-ffa450edef68
2015-09-15 12:18:02 +00:00
Oleg Kalnichevski
8cf6df2c8b
Log socket timeout values
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1701258 13f79535-47bb-0310-9956-ffa450edef68
2015-09-04 13:47:05 +00:00
Oleg Kalnichevski
6fd73b5fb5
HTTPCLIENT-1680: redirect of a POST request causes ClientProtocolException
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1700136 13f79535-47bb-0310-9956-ffa450edef68
2015-08-30 16:34:38 +00:00
Michael Osipov
3ae055638f
HTTPCLIENT-1106: Use character arrays for passwords in Credentials objects, not Strings
...
Deprecate constructors using String-based passwords
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1696576 13f79535-47bb-0310-9956-ffa450edef68
2015-08-19 13:02:54 +00:00
Michael Osipov
795a092dbd
Correct spelling of user 'principal' in the documentation
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1695238 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 10:00:42 +00:00
Oleg Kalnichevski
dee78eca68
Removed unused import
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1694729 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 18:51:38 +00:00
Oleg Kalnichevski
369b375c3b
Use httpbin.org in examples
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1694618 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 07:33:11 +00:00
Oleg Kalnichevski
3b94921d03
HTTPCLIENT-1667: RequestBuilder does not take charset into account when creating UrlEncodedFormEntity
...
Contributed by Sergey Smith <smithsv at bk.ru>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1692404 13f79535-47bb-0310-9956-ffa450edef68
2015-07-23 15:25:56 +00:00
Oleg Kalnichevski
c6be20feb0
HTTPCLIENT-1658: fixed regression in RequestBuilder#copy
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1685285 13f79535-47bb-0310-9956-ffa450edef68
2015-06-13 16:31:15 +00:00
Oleg Kalnichevski
78cf770aec
HTTPCLIENT-1655: HttpClient sends RST instead of FIN ACK sequence when using non-persistant connections
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1683684 13f79535-47bb-0310-9956-ffa450edef68
2015-06-05 09:17:41 +00:00
Oleg Kalnichevski
12482402c4
Upgraded HttpClient version to 4.5.1-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1683489 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 08:41:39 +00:00
Oleg Kalnichevski
20e3f42df2
Cache request line in HttpRequestWrapper
...
Contributed by Dmitry Potapov <dpotapov at yandex-team.ru>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1683475 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 07:38:42 +00:00
Oleg Kalnichevski
ea21ed26a7
HTTPCLIENT-1654: better backward compatibility
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1682713 13f79535-47bb-0310-9956-ffa450edef68
2015-05-31 10:46:03 +00:00
Michael Osipov
eb4a62f609
HTTPCLIENT-1654: Deprecate/remove RequestConfig#decompressionEnabled in favor of #contentCompressionEnabled
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1682650 13f79535-47bb-0310-9956-ffa450edef68
2015-05-30 20:11:17 +00:00
Michael Osipov
6cd90f89be
HTTPCLIENT-1651: Add ability to disable content compression on a request basis
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1682646 13f79535-47bb-0310-9956-ffa450edef68
2015-05-30 19:38:50 +00:00
Michael Osipov
ed39644543
Fixed typo in exception message
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1682244 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 13:47:24 +00:00
Oleg Kalnichevski
6e6b8e5180
Reduced default validate after inactivity setting from 5 sec to 2 sec
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1681021 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 07:32:47 +00:00
Oleg Kalnichevski
8fc08b322e
HTTPCLIENT-1649: serialization of auth schemes is broken
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1681016 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 07:24:01 +00:00
Oleg Kalnichevski
e4157e5d24
HTTPCLIENT-1648: Lax redirect strategy to allow redirects with DELETE method
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1680499 13f79535-47bb-0310-9956-ffa450edef68
2015-05-20 09:20:04 +00:00
Oleg Kalnichevski
68d48b3fd4
Fixed binary incompatibilities with 4.4
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1677102 13f79535-47bb-0310-9956-ffa450edef68
2015-05-01 09:09:09 +00:00
Gary D. Gregory
2ce0bdccc0
Minor formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1676916 13f79535-47bb-0310-9956-ffa450edef68
2015-04-30 07:55:41 +00:00
Gary D. Gregory
2fddd8e03b
Unnecessary final modifier in final class.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1676915 13f79535-47bb-0310-9956-ffa450edef68
2015-04-30 07:55:16 +00:00
Oleg Kalnichevski
6f4a762197
HTTPCLIENT-1643: tolerate unknown content encodings by default
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1676713 13f79535-47bb-0310-9956-ffa450edef68
2015-04-29 10:32:24 +00:00
Oleg Kalnichevski
bf0844103a
HTTPCLIENT-1641: cleaner and more efficient implementation of URIUtils#normalizeSyntax
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1674480 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 10:31:15 +00:00
Oleg Kalnichevski
2a0cd17536
HTTPCLIENT-1640: RFC6265 lax cookie policy fails to parse 'max-age' attribute
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1674059 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 12:21:13 +00:00
Oleg Kalnichevski
163f7804b8
Made RFC6265CookieSpec public with a protected constructor
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1672852 13f79535-47bb-0310-9956-ffa450edef68
2015-04-11 09:41:08 +00:00
Oleg Kalnichevski
3ee78bbcb8
Marked RFC 2109, RFC 2965, Netscape draft cookie specs as obsolete
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1668099 13f79535-47bb-0310-9956-ffa450edef68
2015-03-20 17:10:42 +00:00
Oleg Kalnichevski
e7b2729d9a
HTTPCLIENT-1633: RFC6265CookieSpecProvider compatibility level setting has no effect
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1666802 13f79535-47bb-0310-9956-ffa450edef68
2015-03-15 14:09:55 +00:00
Oleg Kalnichevski
a4436e12ca
Provide convenience functions for constructing the default cookie spec registry and to build on top of the default entries.
...
Use them to construct the default registry from HttpClientBuilder when no cookie spec registry has been provided.
This allows clients to easily add their own CookieSpecProviders without having to duplicate the list of defaults.
Contributed by byattj <byattj at lmax.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1666565 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 20:19:54 +00:00
Oleg Kalnichevski
d85679d2a1
HTTPCLIENT-1628: Auth cache can fail when domain name contains uppercase characters
...
Contributed by Dennis Ju <dejuknow at gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1666010 13f79535-47bb-0310-9956-ffa450edef68
2015-03-11 20:54:11 +00:00
Oleg Kalnichevski
f1e0f669f1
Test cases for AuthScope
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1665996 13f79535-47bb-0310-9956-ffa450edef68
2015-03-11 20:28:47 +00:00
Oleg Kalnichevski
2220d106c1
HTTPCLIENT-1631: IPv4 addresses parser accepts addresses that starts with zero
...
Contributed by Maxim Kirilov <kir.maxim at gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1665995 13f79535-47bb-0310-9956-ffa450edef68
2015-03-11 20:28:36 +00:00
Oleg Kalnichevski
a319a25f4e
HTTPCLIENT-1627: RequestConfig#toString() produces unbalanced text
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1665994 13f79535-47bb-0310-9956-ffa450edef68
2015-03-11 20:27:17 +00:00
Michael Osipov
6f70eca170
HTTPCLIENT-1622: Name of HttpClientBuilder#setSslcontext inconsistent with the rest of SSL-related methods
...
Method names are now uniformly SSLContext, variable names in camelcase.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1663155 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 20:11:00 +00:00
Michael Osipov
542ccae502
HTTPCLIENT-1621: Possible NPE/incorrect type in HttpClientBuilder#evictIdleConnections
...
Method has been deprecated and a new one has been added with a simple type. Old method merely calls the new one now.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1663151 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 19:34:58 +00:00
Oleg Kalnichevski
f798204f68
Fixed style-check violations
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1662808 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 20:25:59 +00:00
Oleg Kalnichevski
ed79acbef0
adding default contructor to RequestConfig to being able to inject it with new CDI specification
...
Contributed by Nykolas Lima <nykolas.lima at gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1662807 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 20:13:38 +00:00
Michael Osipov
fc250e5616
HTTPCLIENT-1623: Several files still refer to Java 1.5
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1662569 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 20:59:56 +00:00
Oleg Kalnichevski
a0b31445af
HTTPCLIENT-1613: support of private domains in Mozilla Public Suffix List
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1662492 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 16:36:00 +00:00
Oleg Kalnichevski
5927ed1966
Upgraded project version to 4.5-alpha1-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1662491 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 16:35:41 +00:00
Oleg Kalnichevski
d6b8a525b9
HTTPCLIENT-1616: integration test for handling of NO_CONTENT response with subsequent content
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1661627 13f79535-47bb-0310-9956-ffa450edef68
2015-02-23 09:44:18 +00:00