2710 Commits

Author SHA1 Message Date
Oleg Kalnichevski
4a976e104e HTTPCLIENT-1968: URIBuilder to split path component into path segments when digesting a URI (ported from HttpCore master) 2019-02-16 13:04:27 +01:00
Oleg Kalnichevski
030dbffe17 Improved cache key generation (ported from HttpCore master) 2019-02-16 12:02:15 +01:00
Oleg Kalnichevski
5f37506e7a HTTPCLIENT-1968: added utility methods to parse and format URI path segments (ported from HttpCore master) 2019-02-16 12:02:15 +01:00
Oleg Kalnichevski
ae9ea60195
Merge pull request #136 from cstamas/HTTPCLIENT-1968
HTTPCLIENT-1968
2019-02-16 11:55:29 +01:00
Tamas Cservenak
4093a3015d HTTPCLIENT-1968: Make normalization of URI paths optional
Make it driven by RequestConfig.
2019-02-16 11:50:11 +01:00
Oleg Kalnichevski
09385e2c93
Merge pull request #138 from ok2c/bug-fixes
Test code improvement
2019-02-16 11:35:51 +01:00
Oleg Kalnichevski
361b276095 Tweaked expected exception check in FutureRequestExecutionService test (ported from HttpClient master) 2019-02-16 11:27:44 +01:00
Oleg Kalnichevski
77cbf6c9f4 Merge branch 'PR-134' into 4.5.x 2019-02-07 19:17:36 +01:00
Jayson Raymond
d150f5abae Some well known proxies respond with Content-Length=0, when returning 304. For robustness, always use the cached entity's content length, as modern browsers do. 2019-02-07 19:15:52 +01:00
Oleg Kalnichevski
f24e6847fb Fixed javadoc errors 2019-01-25 09:27:02 +01:00
Oleg Kalnichevski
20b168326f Updated the set of project report generated by Maven 2019-01-24 16:03:28 +01:00
Oleg Kalnichevski
fc4644de9e Upgraded HttpClient version to 4.5.8-SNAPSHOT 2019-01-24 15:52:01 +01:00
Oleg Kalnichevski
56d7f5b4eb Updated release notes for HttpClient 4.5.7 release 2019-01-20 13:22:09 +01:00
Oleg Kalnichevski
babe96dda8 Merge branch 'java11-compatibility' into 4.5.x 2019-01-19 14:25:13 +01:00
Oleg Kalnichevski
ac773f89f0 Added oraclejdk8 and openjdk11 to Travis-CI build matrix 2019-01-19 11:45:44 +01:00
Oleg Kalnichevski
47df3352fd Tweaked SSL test cases to make them pass with Java 11 2019-01-19 10:46:48 +01:00
Oleg Kalnichevski
aae6a9b3c9 Updated NOTICE to 2019 2019-01-19 10:12:04 +01:00
Oleg Kalnichevski
63f64b6801 Upgraded HttpCore to version 4.4.11 2019-01-19 10:11:37 +01:00
Oleg Kalnichevski
7add08fb69 Merge branch 'HTTPCLIENT-1960' into 4.5.x 2019-01-14 09:30:36 +01:00
Oleg Kalnichevski
8c04c6ae5e HTTPCLIENT-1960: URIBuilder incorrect handling of multiple leading slashes in path component 2019-01-12 17:21:43 +01:00
Oleg Kalnichevski
024f692df3 Merge branch 'HTTPCLIENT-1958' into 4.5.x 2019-01-10 09:52:55 +01:00
Oleg Kalnichevski
9e561957d7 HTTPCLIENT-1958: PoolingHttpClientConnectionManager to throw ExecutionException in case of a lease operation cancellation instead of InterruptedException 2019-01-08 12:04:17 +01:00
Michael Osipov
f04d81e302 [HTTPCLIENT-1952] Allow default User Agent to be disabled 2018-12-24 00:18:11 +01:00
Michael Osipov
1a8ad57a20 Improve HttpResponseException#getMessage()
The #getMessage() now properly consists of the status code as such and the
optional reason phrase. Moreover, the pure reason phrase can be retrieved
via #getReasonPhrase.

This closes #130
2018-12-24 00:03:12 +01:00
Oleg Kalnichevski
a50fb1c33d
Merge pull request #126 from panchenko/empty_reason_phrase
replace empty HttpResponseException.message with statusCode
2018-12-19 16:01:42 +01:00
Alex Panchenko
20dfff12c4 replace empty HttpResponseException.message with statusCode 2018-12-19 14:20:52 +02:00
Oleg Kalnichevski
a0c20ec14d
Merge pull request #125 from apache/HTTPCLIENT-1956
HTTPCLIENT-1956
2018-12-18 11:08:36 +01:00
Oleg Kalnichevski
90f22e85ff HTTPCLIENT-1956: CONNECT overwrites the main request object in the HTTP context when requests are executed via a proxy tunnel 2018-12-17 16:37:20 +01:00
Jens Borgland
2ad70741e6 Better handling of http(s).proxyUser and http(s).proxyPassword 2018-12-13 11:18:11 +01:00
Oleg Kalnichevski
e4ac7db52f Upgraded download-maven-plugin to version 1.2.1 2018-11-03 14:33:28 +01:00
Oleg Kalnichevski
c4d6b3fe59 Upgraded HttpComponents Parent to version 11 2018-11-03 11:35:58 +01:00
Oleg Kalnichevski
c04ffa17ce Added missing @deprecated javadoc tags; fixed style check violations 2018-11-03 11:34:35 +01:00
Oleg Kalnichevski
e1a0227cfd HTTPCORE-561: added SSLSocket timeout test 2018-10-29 16:45:35 +01:00
Gary Gregory
7163bca467 Add org.apache.hc.client5.http.config.RequestConfig.toString() and
camcel-case an ivar.
2018-09-21 18:44:02 -06:00
Vincent Privat
4b894bc18e update JNA from 4.4.0 to 4.5.2 2018-09-10 23:32:51 +02:00
Oleg Kalnichevski
46638fa7e1 Fixed call to get proxy auth state 2018-08-28 14:19:20 +02:00
Gary Gregory
e6c226d5f6 - Always use blocks
- Add missing serial version ID (default 1L)
- Camel-case names.
- Don't nest in else clause unnecessarily.
- Remove declared exceptions that are not thrown (but don't break BC.)
- Remove redundant superinterface
- Access static methods directly
- Better local var names.
2018-08-14 20:54:41 +02:00
Gary Gregory
b9a286ed93 [HTTPCLIENT-1939] Update Apache Commons Codec from 1.10 to 1.11. 2018-08-13 13:02:47 -06:00
Oleg Kalnichevski
681d11e265 HTTPCLIENT-1940: deprecated SSLSocketFactory made to rethrow SocketTimeoutException as ConnectTimeoutException for consistency with non-deprecated code 2018-08-11 20:20:25 +02:00
Mark Mielke
517396df0c Fix HttpClient 4.5.4 regression in BasicCookieStore serialization.
HttpClient 4.5.4 modified BasicCookieStore to introduce a new
ReadWriteLock field to improve performance. Unfortunately this
also changed the serialized data structure, and any objects
serialized using HttpClient 4.5.3 and before would be unusable
after restore in HttpClient 4.5.4 due to the new "lock" field
being null.

The fix is to change "lock" to be transient, and ensure it is
correctly instantiated upon object restore. This restores
compatibility with HttpClient 4.5.3, as well as maintaining
compatible with the intermediate versions containing the
regression. This also avoids unnecessary serialization of
the new "lock" field, which does not need to be persisted.
2018-08-08 06:53:14 -04:00
Gary Gregory
3b4258817a Remove exceptions not thrown from method signatures. Don't nest
unnecessarily.
2018-08-05 11:33:36 -06:00
Gary Gregory
8c3333b4d5 Use "String.isEmpty()" instead of "String.length() == 0" 2018-07-12 09:04:46 -06:00
Oleg Kalnichevski
c72ccfaba8 HTTPCLIENT-1929: Corrected Automatic-Module-Name entries for HttpClient Fluent, HttpClient Windows and HttpClient Cache 2018-07-09 13:58:49 +02:00
Oleg Kalnichevski
5fea3e0439 HTTPCLIENT-1927: URLEncodedUtils#parse breaks at double quotes when parsing unquoted values 2018-07-09 10:07:04 +02:00
Oleg Kalnichevski
ce33e88b1d Upgraded HttpClient version to 4.5.7-SNAPSHOT 2018-07-09 10:03:20 +02:00
Oleg Kalnichevski
1480958ce7 HttpClient 4.5.6 release rel/v4.5.6 4.5.6-RC1 2018-07-05 13:39:40 +02:00
Oleg Kalnichevski
03d316b47b Updated release notes for HttpClient 4.5.6 release 2018-07-05 13:22:47 +02:00
Oleg Kalnichevski
060cf48d4b HTTPCLIENT-1882: reset authentication state on I/O or runtime error for connection based authentication schemes (such as NTLM) 2018-07-04 14:40:14 +02:00
Oleg Kalnichevski
1fb095e6c9 Upgraded HttpCore dependency to version 4.4.10 2018-07-03 11:56:46 +02:00
Oleg Kalnichevski
ca98ad69ad HTTPCLIENT-1924: HttpClient to shut down the connection manager if a fatal error occurs in the course of a request execution 2018-06-16 10:34:00 +02:00