Oleg Kalnichevski
a09842cff9
HTTPCLIENT-1668: Fluent request incorrectly handles connect timeout setting
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1692468 13f79535-47bb-0310-9956-ffa450edef68
2015-07-24 08:58:05 +00:00
Oleg Kalnichevski
58973ffa45
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/trunk@1692403 13f79535-47bb-0310-9956-ffa450edef68
2015-07-23 15:25:38 +00:00
Oleg Kalnichevski
d3bcbedec7
AuthScheme API changes; User credentials made optional for those schemes that do not require them
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1692371 13f79535-47bb-0310-9956-ffa450edef68
2015-07-23 10:00:46 +00:00
Oleg Kalnichevski
e7190e7177
Better separations of concerns: AuthenticationStrategy is intended to select preferred auth schemes without performing actual authentication; auth handling code moved to HttpAuthenticator
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1692370 13f79535-47bb-0310-9956-ffa450edef68
2015-07-23 10:00:13 +00:00
Oleg Kalnichevski
b2a7cb9f10
HttpAuthenticator API changes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1692369 13f79535-47bb-0310-9956-ffa450edef68
2015-07-23 09:59:37 +00:00
Oleg Kalnichevski
3dbafa37aa
HTTPCLIENT-1468: Remove unneccessary throws UnsupportedEncodingException
...
Contributed by Robin Skoglund <robinsk at gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1689159 13f79535-47bb-0310-9956-ffa450edef68
2015-07-04 13:53:36 +00:00
Oleg Kalnichevski
fe175a845a
Removed AUTH and SM classes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1689156 13f79535-47bb-0310-9956-ffa450edef68
2015-07-04 13:43:20 +00:00
Oleg Kalnichevski
2f66271de9
RFC 7231: redesign of HTTP authenticator and related classes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1689155 13f79535-47bb-0310-9956-ffa450edef68
2015-07-04 13:42:40 +00:00
Oleg Kalnichevski
11612ab974
RFC 7231: parse capable of parsing multiple auth challenges
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1687909 13f79535-47bb-0310-9956-ffa450edef68
2015-06-27 10:50:53 +00:00
Oleg Kalnichevski
fb56b49465
Redesign of CredentialsProvider interface
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1687908 13f79535-47bb-0310-9956-ffa450edef68
2015-06-27 10:50:38 +00:00
Oleg Kalnichevski
d5c520a8e1
RFC 7231: DefaultServiceUnavailableRetryStrategy to take Retry-After header value into account if specified
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1687907 13f79535-47bb-0310-9956-ffa450edef68
2015-06-27 10:50:12 +00:00
Karl Wright
724a33a1a1
Tentative fix for HTTPCLIENT-1662. Allow more than one way to construct a complete NTCredential object.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1687319 13f79535-47bb-0310-9956-ffa450edef68
2015-06-24 16:05:53 +00:00
Oleg Kalnichevski
777f6ead46
RFC 7231: removed restriction on the use of relative URIs in Location header
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1686699 13f79535-47bb-0310-9956-ffa450edef68
2015-06-21 10:44:31 +00:00
Oleg Kalnichevski
93525ebb36
RFC 7231: revised redirect handling
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1686698 13f79535-47bb-0310-9956-ffa450edef68
2015-06-21 10:43:48 +00:00
Oleg Kalnichevski
12a8eaabab
RFC 7231: do not generate header fields in TRACE requests containing sensitive data such as cookie and user credentials
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1686590 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 12:12:18 +00:00
Oleg Kalnichevski
6d72c0e326
RFC 7231: automatic retrial of idempotent methods
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1686589 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 12:12:03 +00:00
Oleg Kalnichevski
d3a1171524
HTTPCLIENT-1658: fixed regression in RequestBuilder#copy
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1685284 13f79535-47bb-0310-9956-ffa450edef68
2015-06-13 16:30:56 +00:00
Oleg Kalnichevski
5d1871a8a0
RFC 7230: increased the default max number of concurrent connection for the same route from 2 to 5
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1684110 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 07:43:54 +00:00
Oleg Kalnichevski
ce86e3ed81
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/trunk@1683685 13f79535-47bb-0310-9956-ffa450edef68
2015-06-05 09:18:00 +00:00
Oleg Kalnichevski
1eb2553ddb
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/trunk@1683476 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 07:40:58 +00:00
Michael Osipov
14050dcc37
Added HTTPCLIENT-1654 to release notes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1682652 13f79535-47bb-0310-9956-ffa450edef68
2015-05-30 20:27:58 +00:00
Michael Osipov
412dfe7699
HTTPCLIENT-1654: Deprecate/remove RequestConfig#decompressionEnabled in favor of #contentCompressionEnabled
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1682651 13f79535-47bb-0310-9956-ffa450edef68
2015-05-30 20:22:46 +00:00
Michael Osipov
07af581330
Unintentionally removed empty lines
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1682648 13f79535-47bb-0310-9956-ffa450edef68
2015-05-30 19:45:10 +00:00
Michael Osipov
5cb55bcb84
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1682647 13f79535-47bb-0310-9956-ffa450edef68
2015-05-30 19:43:22 +00:00
Michael Osipov
5f3ba04de2
HTTPCLIENT-1651: Add ability to disable content compression on a request basis
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1682442 13f79535-47bb-0310-9956-ffa450edef68
2015-05-29 12:28:21 +00:00
Michael Osipov
da8738d14a
Fixed typo in exception message
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1682243 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 13:46:54 +00:00
Oleg Kalnichevski
7d8ac569be
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/trunk@1682039 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 14:22:01 +00:00
Oleg Kalnichevski
41d040e006
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/trunk@1681817 13f79535-47bb-0310-9956-ffa450edef68
2015-05-26 19:13:44 +00:00
Oleg Kalnichevski
64ce856b92
Removed obsolete cookie elements and obsolete cookie policies
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1681484 13f79535-47bb-0310-9956-ffa450edef68
2015-05-24 16:36:03 +00:00
Oleg Kalnichevski
3b5990e363
Upgraded to Java 1.7
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1681461 13f79535-47bb-0310-9956-ffa450edef68
2015-05-24 14:24:26 +00:00
Oleg Kalnichevski
b29c819645
Removed deprecated code
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1681460 13f79535-47bb-0310-9956-ffa450edef68
2015-05-24 14:12:43 +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