Commit Graph

2608 Commits

Author SHA1 Message Date
Oleg Kalnichevski af8e59b6ea Added #getCreationDate method to Cookie interface
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1724317 13f79535-47bb-0310-9956-ffa450edef68
2016-01-12 20:44:31 +00:00
Oleg Kalnichevski 8dedfb3aa4 HTTPCLIENT-1575: route target port must be non negative
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1724316 13f79535-47bb-0310-9956-ffa450edef68
2016-01-12 20:44:19 +00:00
Oleg Kalnichevski 1f8fe36da1 Upgraded HttpCore to version 5.0-alpha1
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1724315 13f79535-47bb-0310-9956-ffa450edef68
2016-01-12 20:43:36 +00:00
asf-sync-process ff89f7d76d 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/trunk@1722633 13f79535-47bb-0310-9956-ffa450edef68
2016-01-02 14:20:33 +00:00
Gary D. Gregory fbee216acb [HTTPCLIENT-1709] Delete obsolete clone method.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1722051 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 03:45:31 +00:00
Oleg Kalnichevski 80601602d0 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/trunk@1721388 13f79535-47bb-0310-9956-ffa450edef68
2015-12-22 12:40:01 +00:00
Oleg Kalnichevski be46d7fd93 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/trunk@1720387 13f79535-47bb-0310-9956-ffa450edef68
2015-12-16 16:19:32 +00:00
Oleg Kalnichevski 663560b254 HTTPCLIENT-1704: IgnoreSpec#match to always return false
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1719951 13f79535-47bb-0310-9956-ffa450edef68
2015-12-14 16:27:45 +00:00
Oleg Kalnichevski 963e695b03 Updated standard compliance in project DOAP
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1719829 13f79535-47bb-0310-9956-ffa450edef68
2015-12-13 20:38:41 +00:00
Gary D. Gregory 3e8ed5a22a Reduce use of magic number 200 (Use HttpStatus.SC_OK)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1719228 13f79535-47bb-0310-9956-ffa450edef68
2015-12-10 22:51:04 +00:00
Oleg Kalnichevski fb22d8ff72 HTTPCLIENT-1550: fixed 'deflate' zlib header check
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1717324 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 20:36:42 +00:00
Oleg Kalnichevski df4e36c3fb HTTPCLIENT-1698: Fixed matching of IPv6 addresses by DefaultHostnameVerifier
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1716971 13f79535-47bb-0310-9956-ffa450edef68
2015-11-28 13:25:27 +00:00
Oleg Kalnichevski 3297b7a9f3 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/trunk@1714368 13f79535-47bb-0310-9956-ffa450edef68
2015-11-14 20:48:26 +00:00
Gary D. Gregory 423e1e3fef Minor edits ("." at end of sentences.)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1714137 13f79535-47bb-0310-9956-ffa450edef68
2015-11-12 23:12:44 +00:00
Gary D. Gregory 28040a3f2a [HTTPCLIENT-1696]: Add convenience methods to fluent API class Request.
Contributed by Gary Gregory <ggregory @ apache.org>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1714136 13f79535-47bb-0310-9956-ffa450edef68
2015-11-12 23:10:58 +00:00
Oleg Kalnichevski 70e603f819 Code cleanup
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1713455 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 15:08:20 +00:00
Oleg Kalnichevski 6ab2c32970 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/trunk@1713430 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 13:20:47 +00:00
Oleg Kalnichevski 34aba2b3a6 MultipartFormEntity#getContent implementation
Contributed by Slikey <trusted at kevin-carstens.de>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1709815 13f79535-47bb-0310-9956-ffa450edef68
2015-10-21 12:34:34 +00:00
Oleg Kalnichevski e7d625f604 HTTPCLIENT-1685: PublicSuffixDomainFilter to ignore local hosts and local domains
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1706584 13f79535-47bb-0310-9956-ffa450edef68
2015-10-03 13:46:19 +00:00
Oleg Kalnichevski da125f2d4d Log socket timeout values
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1701259 13f79535-47bb-0310-9956-ffa450edef68
2015-09-04 13:49:19 +00:00
Gary D. Gregory 64371f7410 Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1698184 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 15:26:32 +00:00
Gary D. Gregory 6b8214d4b7 Redundant specification of type arguments.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1698078 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 04:59:37 +00:00
Gary D. Gregory 0a774df3c6 Add missing groupId.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1698059 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 04:21:58 +00:00
Gary D. Gregory ffd4421450 Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1698031 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 22:29:05 +00:00
Gary D. Gregory 8378e1b644 Unnecessary semicolon.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1698020 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 22:09:04 +00:00
Gary D. Gregory 786da6501f Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1698005 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 21:23:47 +00:00
Gary D. Gregory 3ccb3eaa62 Update JUnit from 4.11 to 4.12.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1697595 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 08:04:48 +00:00
Gary D. Gregory 6b68265094 Do not check Maven-Eclipse file from RAT checks.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1697526 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 01:32:06 +00:00
Gary D. Gregory 08f48e8b4d ExcludeExclude .externalToolBuilders from RAT check.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1697523 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 00:42:30 +00:00
Gary D. Gregory 37a517f8f3 Exclude maven-eclipse.xml from RAT check.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1697522 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 00:41:17 +00:00
Gary D. Gregory 0560c8927a [HTTPCLIENT-1679] Update EHCache from 2.6.9 to 2.6.11.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1697521 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 00:32:59 +00:00
Gary D. Gregory 84af15d8fc [HTTPCLIENT-1678] Update spymemcached from 2.11.4 to 2.12.0.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1697520 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 00:29:12 +00:00
Gary D. Gregory 1002feac3c Update spymemcached from 2.11.4 to 2.11.7. mvn clean test OK.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1697519 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 00:24:10 +00:00
Gary D. Gregory bc254ffcf4 [HTTPCLIENT-1677] Update Apache Commons from 1.9 to 1.10.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1697518 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 00:12:31 +00:00
Michael Osipov 8c17af907a HTTPCLIENT-1106: Use character arrays for passwords in Credentials objects, not Strings
Remove leftovers of contructors and tests accepting passwords as strings

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1696585 13f79535-47bb-0310-9956-ffa450edef68
2015-08-19 13:29:56 +00:00
Oleg Kalnichevski c959fd3967 HTTPCLIENT-1673: make the test case a bit more substantial.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1696145 13f79535-47bb-0310-9956-ffa450edef68
2015-08-16 14:19:41 +00:00
Oleg Kalnichevski 0b108f8b2f 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/trunk@1696144 13f79535-47bb-0310-9956-ffa450edef68
2015-08-16 14:19:30 +00:00
Michael Osipov b1f2b6825a Properly name instance and method variables of AuthExchange
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1695265 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 11:27:04 +00:00
Michael Osipov 86aa813080 Correct spelling of user 'principal' in the documentation
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1695238 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 10:00:42 +00:00
Michael Osipov fcaa920b93 Correct spelling of method 'getPrincipal' newly introduced in AuthScheme interface
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1695237 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 09:58:58 +00:00
Oleg Kalnichevski 2e080356cd HTTPCLIENT-1106: Use character arrays for passwords in Credentials objects
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1695157 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 19:44:35 +00:00
Oleg Kalnichevski d09ae9707d ByteArrayBuilder class to build byte sequences; BasicScheme and DigestScheme optimized to generate less intermediate garbage
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1695156 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 19:44:09 +00:00
Oleg Kalnichevski e52e269dc8 HTTPCLIENT-1671: default headers should only be set if a header with the same name hasn't already been set
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1695155 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 19:43:53 +00:00
Oleg Kalnichevski 51111452a7 Minor tweaks in sample code
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1694784 13f79535-47bb-0310-9956-ffa450edef68
2015-08-08 10:03:33 +00:00
Oleg Kalnichevski 4abc665ad9 HTTPCLIENT-1674: fixed project url in pom.xml
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1694625 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 07:40:26 +00:00
Oleg Kalnichevski 4ae3226885 Cache successful basic and digest auth schemes by default
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1694623 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 07:35:09 +00:00
Oleg Kalnichevski 3b905dc69c Include scheme name in #toString()
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1694622 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 07:34:58 +00:00
Oleg Kalnichevski 50379ccbc1 Use httpbin.org in examples
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1694621 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 07:34:46 +00:00
Oleg Kalnichevski 697ccb314e Support for auth exchanges with multiple hosts
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1694620 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 07:34:13 +00:00
Oleg Kalnichevski 695d0028fe Redesigned auth handshake state management
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1694619 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 07:33:52 +00:00