Commit Graph

2632 Commits

Author SHA1 Message Date
Oleg Kalnichevski 96c4a55029 HTTPCLIENT-1718, HTTPCLEINT-1719: credentials fix to allow proxy authetication
Contributed by 212427891 <munene.kiruja at ge.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1730836 13f79535-47bb-0310-9956-ffa450edef68
2016-02-17 13:54:29 +00:00
Gary D. Gregory 3cde2e432d [HTTPCLIENT-1717] Make fluent API .Content.Content(byte[], ContentType) public.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1728787 13f79535-47bb-0310-9956-ffa450edef68
2016-02-06 03:09:01 +00:00
Gary D. Gregory d730041f0a Javadoc typo.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1728602 13f79535-47bb-0310-9956-ffa450edef68
2016-02-05 04:53:53 +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 6c46f1952b HTTPCLIENT-1710 - fixes - examine all exceptions, correct capture groups count
Contributed by 212427891 <munene.kiruja at ge.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1722632 13f79535-47bb-0310-9956-ffa450edef68
2016-01-02 14:15:43 +00:00
Oleg Kalnichevski da60349c5f Fix number or format arguments in OSGiProxyConfiguration
The format string requires 6 arguments while 7 are provided.
From the format string it is clear that the first argument has
been added by mistake.

Contributed by Michiel Eggermont <michiel.eggermont at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1721386 13f79535-47bb-0310-9956-ffa450edef68
2015-12-22 12:36:10 +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 09cefc2b89 MultipartFormEntity#getContent implementation
Contributed by Slikey <trusted at kevin-carstens.de>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1709814 13f79535-47bb-0310-9956-ffa450edef68
2015-10-21 12:34:14 +00:00
Oleg Kalnichevski 8e6ab0bdb8 HTTPCLIENT-1665: MultipartEntity to use US-ASCII charset by default (regression)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1709523 13f79535-47bb-0310-9956-ffa450edef68
2015-10-20 07:42:34 +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 3b9a03913b Updated release notes for HttpClient 4.5.1 release
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1702444 13f79535-47bb-0310-9956-ffa450edef68
2015-09-11 12:28:36 +00:00
Oleg Kalnichevski abc894b3b8 Upgraded HttpCore to version 4.4.3
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1702055 13f79535-47bb-0310-9956-ffa450edef68
2015-09-09 16:52:37 +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
Oleg Kalnichevski 80ff3b2e27 Revert "HTTPCLIENT-1673: revert change, which was not necessary"
This reverts commit 7f66d5dc61.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1696973 13f79535-47bb-0310-9956-ffa450edef68
2015-08-21 13:35:04 +00:00
Oleg Kalnichevski c0938e1f55 Revert "HTTPCLIENT-1673: make the test case a bit more substantial."
This reverts commit 2b3230123a.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1696971 13f79535-47bb-0310-9956-ffa450edef68
2015-08-21 13:34:01 +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
Oleg Kalnichevski 2b3230123a HTTPCLIENT-1673: make the test case a bit more substantial.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1696143 13f79535-47bb-0310-9956-ffa450edef68
2015-08-16 14:19:04 +00:00
Oleg Kalnichevski 7f66d5dc61 HTTPCLIENT-1673: revert change, which was not necessary
and add test that proves that it's not necessary.
Mostly provide bones of future OSGi tests.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1696142 13f79535-47bb-0310-9956-ffa450edef68
2015-08-16 14:18:53 +00:00
Oleg Kalnichevski 18f9b7986b HTTPCLIENT-1673: org.apache.http.entity.mime.content.* missing from OSGi exports
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1695536 13f79535-47bb-0310-9956-ffa450edef68
2015-08-12 14:34:10 +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 ab3bdf0229 HTTPCLIENT-1674: fixed project url in pom.xml
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1694624 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 07:40:08 +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 bd29207ff9 HTTPCLIENT-1668: Fluent request incorrectly handles connect timeout setting
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1692467 13f79535-47bb-0310-9956-ffa450edef68
2015-07-24 08:56:26 +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 2227d18696 Added HTTPCLIENT-1654 to release notes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1682652 13f79535-47bb-0310-9956-ffa450edef68
2015-05-30 20:27:58 +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 4ab8948dc5 Unintentionally removed empty lines
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1682648 13f79535-47bb-0310-9956-ffa450edef68
2015-05-30 19:45:10 +00:00
Michael Osipov 8501cb9b0c git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1682647 13f79535-47bb-0310-9956-ffa450edef68 2015-05-30 19:43:22 +00:00