Oleg Kalnichevski
84cccfe630
HttpClient 5.4 release
2024-09-16 17:09:37 +02:00
Oleg Kalnichevski
12409713eb
Replaced deprecated functionality
2024-09-12 15:13:08 +02:00
Gary Gregory
d9a78ce076
Javadoc and reduce boilerplate
...
- Use final
- package-private methods can throw more precise exception
- Add missing Javadoc comments
- Use lambdas
- Better StringBuilder allocation
- Make private final class a static class
- Make private instance variable final in test
- Single lambda parameter does not need parentheses
- Package-private class constructor can be package-private
2024-09-12 14:47:02 +02:00
Gary Gregory
25f080f307
Private method does not throw checked exception
...
- Remove it from the private method signatures
- Remove exception handling no longer needed
- Add missing @Override
- No need to nest in an else clause (reduce clutter)
- Use ternary expression
- public methods in a package-private class can be package-private
2024-08-26 11:29:09 -04:00
Oleg Kalnichevski
a61f60b4bd
HTTPCLIENT-2333: update execution scope upon request redirect in order to avoid re-execution of the original request in case of an i/o error
2024-08-05 16:55:39 +02:00
strangelookingnerd
cc13243cd3
Minor code cleanup
2024-06-27 23:11:05 +02:00
strangelookingnerd
185d4e32aa
Test classes and methods should have default package visibility
2024-06-27 23:11:05 +02:00
Oleg Kalnichevski
a0bf57b837
Upgraded HttpClient version to 5.4-beta2-SNAPSHOT
2024-06-26 14:15:11 +02:00
Oleg Kalnichevski
10e8a7acbc
Replaced deprecated functionality
2024-06-22 15:22:34 +02:00
Oleg Kalnichevski
0b4e653eda
Upgraded HttpCore to version 5.3-beta1
2024-06-21 19:14:00 +02:00
Oleg Kalnichevski
0b4b06d080
Moved test extension classes
2024-06-21 11:12:12 +02:00
Oleg Kalnichevski
1cd7f8f2d0
Moved test cases that require an embedded test server to the integration test module
2024-06-21 11:06:57 +02:00
Oleg Kalnichevski
034cd65aa5
Redesign of test server APIs and integration test setup
2024-06-21 10:49:11 +02:00
Oleg Kalnichevski
ccfb674a1e
Upgraded HttpClient version to 5.4-alpha3-SNAPSHOT
2024-03-11 09:39:26 +01:00
Oleg Kalnichevski
eb6fd6b1c2
HttpClientContext and HttpCacheContext to use instance variables for standard attributes
2024-02-29 17:12:35 +01:00
Oleg Kalnichevski
8a7f707a61
Upgraded HttpCore to version 5.3-alpha2
2024-02-14 15:41:56 +01:00
Oleg Kalnichevski
2e46b62ffd
HTTPCLIENT-2151: Support for JSSE in-built endpoint identification
2024-02-05 10:05:33 +01:00
Oleg Kalnichevski
1111c62dd3
Classic ExecRuntime to support information responses (1xx)
2024-01-29 14:15:16 +01:00
Oleg Kalnichevski
9d75647eca
Deprecated ConnectionSocketFactory, LayeredConnectionSocketFactory and their plain and SSL implementations in favor of DefaultClientTlsStrategy
2024-01-26 10:19:34 +01:00
Oleg Kalnichevski
a1fa1739bf
Fixed a design mistake of ConnectionEndpoint having a direct dependency on HttpRequestExecutor class
2024-01-17 12:55:14 +01:00
Oleg Kalnichevski
c5de6961d1
Upgraded HttpClient version to 5.4-alpha2-SNAPSHOT
2023-12-29 10:47:10 +01:00
Oleg Kalnichevski
810d7b0568
Revised external caching client tests
2023-12-24 17:54:03 +01:00
Oleg Kalnichevski
4dc82b40f6
Removed references to deprecated functions
2023-12-23 13:16:25 +01:00
Oleg Kalnichevski
20bd815e74
Upgraded HttpCore to version 5.3-alpha1
2023-12-23 12:24:16 +01:00
Arturo Bernal
7b761fb2c3
Enforce UTF-8 Encoding in BasicSchemeFactory for RFC 7617 Compliance ( #506 )
...
- Deprecated the constructor in BasicSchemeFactory that allows setting a custom Charset.
- Updated the default constructor to use StandardCharsets.UTF_8, aligning with RFC 7617 which mandates UTF-8 encoding for Basic Authentication.
2023-12-13 11:54:48 +01:00
Oleg Kalnichevski
f7de67ff25
Upgraded project version to 5.4-alpha1
2023-12-13 11:54:30 +01:00
Arturo Bernal
7d853d521e
Fix Response Body Truncation Issue in ContentResponseHandler ( #521 )
...
Resolved a bug where the response body was truncated to 256 bytes in all cases, including successful responses.
2023-12-11 12:19:48 +01:00
Oleg Kalnichevski
f6a37780cf
Upgraded HttpClient version to 5.3.1-SNAPSHOT
2023-12-06 16:54:47 +01:00
Oleg Kalnichevski
efe2598a30
Classic test suits to execute in plain and TLS modes
2023-11-28 11:08:38 +01:00
Carter Kozak
180d90c847
HTTPCLIENT-2305: SSLConnectionSocketFactory allows socket.connect to be decorated ( #499 )
2023-11-02 10:19:52 -04:00
HappyHacker123
f78c4ffad1
Change scope of slf4j-api to test.
2023-11-02 14:50:42 +01:00
Oleg Kalnichevski
9d23ddbea7
Upgraded HttpClient version to 5.3-alpha2-SNAPSHOT
2023-08-19 18:39:58 +02:00
Oleg Kalnichevski
2176eb3861
GGS based experimental authentication schemes deprecated and disabled by default
2023-08-12 17:14:53 +02:00
Oleg Kalnichevski
83c6079e65
NTLM scheme deprecated and disabled by default
2023-08-12 17:14:53 +02:00
Oleg Kalnichevski
95e8abbda8
BEARER auth scheme support (RFC 6750)
2023-08-12 17:14:53 +02:00
Oleg Kalnichevski
298506eb0e
New Authenticator interface method to return an auth result with additional challenge parameters
2023-08-12 17:14:53 +02:00
Oleg Kalnichevski
a4784916cc
Made authenticating decorators capable of supporting different authentication schemes
2023-08-12 17:14:53 +02:00
Oleg Kalnichevski
c0194331c3
Upgraded project version to 5.3-alpha1-SNAPSHOT
2023-08-12 17:14:16 +02:00
Gary Gregory
f78ec699ab
Camel case names
2023-03-13 15:43:16 +01:00
Oleg Kalnichevski
22e5a0be6b
Upgraded HttpClient version to 5.2.2-SNAPSHOT
2022-12-07 14:09:11 +01:00
Oleg Kalnichevski
cb80c3cc50
Disabled a test case that fails intermittently with GitHub Actions.
2022-11-26 10:54:05 +01:00
Oleg Kalnichevski
e52ff02f74
Upgraded HttpClient version to 5.2.1-SNAPSHOT
2022-11-13 12:28:46 +01:00
Oleg Kalnichevski
fe1e095ef9
Regression: connection managers fail to take into account per route connection config when closing expired connections
2022-11-06 11:11:53 +01:00
Oleg Kalnichevski
233a5bdbb7
Use docker-compose to start compatibility test containers
2022-11-05 16:42:47 +01:00
Oleg Kalnichevski
7626230ffd
Fixed integration tests broken by JUnit 5 upgrade
2022-11-05 11:16:05 +01:00
Gary Gregory
c6f83a579d
Be more lenient on slower build machines
2022-10-02 16:46:07 +02:00
Carter Kozak
3bd017cb0a
HTTPCLIENT-2221 Closing a classic response/entity allows connection reuse
...
Previously, a partially consumed response body closed via
CloseableHttpResponse.close or HttpEntity.close would fully consume
remaining bytes (via close), however it would not release the
connection for reuse.
If CloseableHttpResponse.close was called, it would follow the close
with a discard/disconnect, however if only the entity was closed,
the connection would remain in a checked-out (leaked) state.
Now, we take advantage of the fact that closing a response stream
on any reusable connection is required to drain bytes on closure.
Failures are detected by writeTo and the stream returned by
getContent, so we can be confident that we will not return a
broken connection to the pool.
2022-06-11 14:11:06 +02:00
Oleg Kalnichevski
8dbaf131f5
Upgraded HttpClient version to 5.2-beta2-SNAPSHOT
2022-06-07 14:42:03 +02:00
Oleg Kalnichevski
9e0ff508e8
Upgraded HttpCore to version 5.2-beta2
2022-06-01 23:04:39 +02:00
j3graham
26dcc6f914
HTTPCLIENT-2218: Use Java 8 Base64 utility ( #370 )
2022-06-01 23:04:29 +02:00