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
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
0ad9857ed8
Fixed regresson in a deprecated method of FileBody
...
Contributed by Andrey Pohilko <apc4 at ya.ru>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1682040 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 14:22:21 +00:00
Oleg Kalnichevski
1fc51847e7
HTTPCLIENT-1650: fluent Executor to create a local CredentialsProvide instance only if credentials are explicitly set
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1681815 13f79535-47bb-0310-9956-ffa450edef68
2015-05-26 18:59:46 +00:00
Oleg Kalnichevski
22b412f880
HttpClient 4.5.x branch
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1681444 13f79535-47bb-0310-9956-ffa450edef68
2015-05-24 13:01:39 +00:00
Oleg Kalnichevski
a929148fb4
Updated release notes for HttpClient 4.5 release
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1681296 13f79535-47bb-0310-9956-ffa450edef68
2015-05-23 09:21:04 +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
Sebastian Bazley
a2a9746778
Each Version must be in its own release section
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1678363 13f79535-47bb-0310-9956-ffa450edef68
2015-05-08 14:32:17 +00:00
Oleg Kalnichevski
38a834afa0
HTTPCLIENT-1645: fluent requests to inherit config parameters of the executor
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1677103 13f79535-47bb-0310-9956-ffa450edef68
2015-05-01 09:09:20 +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
50cb3a3d4e
HTTPCORE-398: corrected SSLContext creation example
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1674481 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 10:51:56 +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
c46ec3f5b0
Upgraded HttpCore to version 4.4.1
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1668098 13f79535-47bb-0310-9956-ffa450edef68
2015-03-20 17:10:27 +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
e883fbb376
Fixed deprecation warnings
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1666566 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 20:20:11 +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