Commit Graph

2808 Commits

Author SHA1 Message Date
Liam Miller-Cushon 54900db465 HTTPCLIENT-2288 - Retry logic in DefaultHttpClientConnectionOperator doesn't handle SocketException 2023-07-29 09:40:32 +02:00
Cole Greer 7aca075c6e
HTTPCLIENT-2263: Cannot Access Trailer-Headers in Chunked transfer-encoding (#425) 2023-03-16 14:46:20 +01:00
Oleg Kalnichevski 0f1df5c04f Upgraded HttpClient version to 4.5.15-SNAPSHOT 2022-12-04 12:12:27 +01:00
Oleg Kalnichevski 90f74e5b1c Updated release notes for HttpClient 4.5.14 release 2022-11-30 19:33:32 +01:00
Oleg Kalnichevski bd5e3b347e Upgraded HttpCore to version 4.4.16 2022-11-29 20:40:16 +01:00
Gary Gregory 6a741b4f8f Don't use deprecated Ehcache API. 2022-07-06 10:20:57 -04:00
Oleg Kalnichevski 73e72f2268 HTTPCLIENT-2206: Corrected resource de-allocation by fluent response objects 2022-02-26 14:54:26 +01:00
Oleg Kalnichevski c4e480ef78 Updated NOTICE 2021-12-07 23:35:02 +01:00
Oleg Kalnichevski dee0466f46 Added distribution management section to the project POM 2021-12-07 23:34:34 +01:00
Oleg Kalnichevski 133a89214e Cleaned up POM structure 2021-12-07 23:33:01 +01:00
Oleg Kalnichevski 482a909eed Upgraded HttpCore to version 4.4.15 2021-12-07 14:50:28 +01:00
Oleg Kalnichevski a0b85d44c2 HTTPCLIENT-2174: URUBuilder to return a new empty list instead of unmodifiable Collections#emptyList 2021-09-11 13:49:20 +02:00
Jaikiran Pai f0618b0484 Don't retry a request for NoRouteToHostException 2021-08-23 22:15:01 +02:00
Carsten Ziegeler 56d7863651 Change password property type to Password 2021-06-11 17:00:35 +02:00
Tomo Suzuki 88a30eb77b Updating project URL to include '-ga' suffix 2021-04-02 22:37:23 +02:00
Oleg Kalnichevski 33acdb602e HTTPCLIENT-2144: RequestBuilder fails to correctly copy charset of requests with form url-encoded body 2021-03-27 17:50:47 +01:00
Oleg Kalnichevski cad651a198 Deleted sample code moved to HttpComponents Website project 2021-02-23 19:14:31 +01:00
Gary Gregory 3a68e74ec8 Remove clone() method that only calls super in Object. 2020-12-02 16:58:08 -05:00
Oleg Kalnichevski 2927359a78 Upgraded HttpCore to version 4.4.14 2020-11-30 22:30:45 +01:00
Gary Gregory 72244d703b PublicSuffixListParser.parseByType(Reader) allocates but does not use a
256 char StringBuilder.
2020-11-26 16:01:42 -05:00
Gary Gregory 3877e5c9cd Clean up text. 2020-11-24 18:11:45 -05:00
Gary Gregory 7987f750fd Document PR #269: 4.5.x use array fill and more. 2020-11-24 15:35:34 -05:00
Gary Gregory ca9f16ce34 Use a 'L' instead of 'l' to make long literals more readable. 2020-11-24 15:33:07 -05:00
Gary Gregory 0e612820f4 Remote extra semicolons (;). 2020-11-24 15:33:07 -05:00
Gary Gregory 80ec981895 No need to explicitly declare an array when calling a vararg method. 2020-11-24 15:33:07 -05:00
Gary Gregory 2e54182cdd Remove redundant returns. 2020-11-24 15:33:07 -05:00
Gary Gregory 3334f2d447 Use Collections.addAll() and Collection.addAll() APIs instead of loops. 2020-11-24 15:33:07 -05:00
Gary Gregory 50ec2d075d Remove redundant modifiers.
- All methods in a final class are already final.
- All members of an interface are public.
- All inner enums are static.
2020-11-24 15:33:07 -05:00
Gary Gregory 6467e3c1e1 Use Arrays.fill(). 2020-11-24 15:33:07 -05:00
Gary Gregory 23af28ddaf Fix typo in local variable name. 2020-11-05 01:05:21 -05:00
Gary Gregory 19d29f3418 [HTTPCLIENT-2124] NullPointerException in
org.apache.hc.client5.http.impl.classic.MinimalHttpClient.doExecute(HttpHost,
ClassicHttpRequest, HttpContext)

Port test from master.
2020-10-25 21:34:00 -04:00
Oleg Kalnichevski cf37ab3716 HTTPCLIENT-2119: added missing system properties to HttpClientBuilder javadocs 2020-10-17 12:07:36 +02:00
Oleg Kalnichevski d6520e797d Upgraded HttpClient version to 4.5.14-SNAPSHOT 2020-10-06 09:26:06 +02:00
Gary Gregory 60f8edb242 Updated release notes for HttpClient 4.5.13 release 2020-10-03 12:30:59 +02:00
Oleg Kalnichevski e628b4c5c4 Incorrect handling of malformed authority component by URIUtils#extractHost 2020-10-03 12:30:11 +02:00
dirkhenselin 8151d9e51a Avoid updating Content-Length header in a 304 response.
I observed the following problem: `Transfer-Encoding` and
`Content-Length` headers should be mutually exclusive and because I use
chunked transfer, the `Transfer-Encoding` header is set in the response
while the `Content-Length` header is not. In case of a 304 during a
revalidation, the header contains Content-Length=0. Probably a proxy is
responsible for this, just like the comment "Some well-known proxies
respond with Content-Length=0, when returning 304" in the method
CachedHttpResponseGenerator::addMissingContentLengthHeader is saying. In
CacheEntryUpdater::mergeHeaders the Content-Length=0 is merged into the
cached entry, but the cached entry contains also a `Transfer-Encoding`
header, so in the cached entry these headers aren't mutually exclusive
anymore. Because of the `Transfer-Encoding` header the method
CachedHttpResponseGenerator::addMissingContentLengthHeader isn't fixing
the `Content-Length` header and Content-Length=0 causes returning null
instead of the cached content. IMHO the `Content-Length` header should
not be merged into the cached response in case of a 304, at least if the
cached entry contains a `Transfer-Encoding` header.
2020-10-03 12:30:11 +02:00
Gary Gregory f024a5884e
BasicExpiresHandler is annotated as immutable but is not. (#239) 2020-07-08 08:05:34 -04:00
Gary Gregory 427c7d137e
Javadoc fixes. (#209) 2020-07-07 19:12:27 -04:00
Michael Osipov 26ba138d8e Correct status code typo in release notes 2020-06-18 09:42:47 +02:00
heejeongkim 32a5c0935b HTTPCLIENT-2076: fix NPE in LaxExpiresHandler (#222) 2020-04-17 11:17:16 +02:00
Oleg Kalnichevski c87a3488c4 Upgraded HttpClient version to 4.5.13-SNAPSHOT 2020-03-07 10:04:58 +01:00
Oleg Kalnichevski 729c29cb3e Updated release notes for HttpClient 4.5.12 release 2020-03-03 13:38:24 +01:00
Michael Osipov 55bd1654fc [HTTPCLIENT-2053] Add SC_PERMANENT_REDIRECT (408) to DefaultRedirectStrategy
This closes #215
2020-02-22 14:45:13 +01:00
Oleg Kalnichevski 98b9d436f8 HTTPCLIENT-2052: Fixed redirection of entity enclosing requests with non-repeatable entities; additional integration tests for redirects of entity enclosing methods 2020-02-22 09:44:58 +01:00
Oleg Kalnichevski 736c00da6d HTTPCLIENT-2047: fixed regression in DefaultHostnameVerifier causing rejection of certs with non-standard domains.
This reverts commit e0416f07
2020-01-29 09:36:17 +01:00
Oleg Kalnichevski dbc3342781 Bug fix: fixed handling of private domains by PublicSuffixMatcher 2020-01-29 09:36:17 +01:00
Oleg Kalnichevski ca0f84933a Upgraded HttpClient version to 4.5.12-SNAPSHOT 2020-01-18 10:49:39 +01:00
Oleg Kalnichevski d331eea941 Updated release notes for HttpClient 4.5.11 release 2020-01-15 11:17:08 +01:00
Oleg Kalnichevski 49d4d6b56d Updated NOTICE 2020-01-15 11:15:35 +01:00
Oleg Kalnichevski 343ac3d407 Domain name normalization 2020-01-14 09:30:39 +01:00