Comments (4)
Looking...thanks!
from async-http-client.
OK, after looking, you can implement what you call 'short term' solution as a ResponseFilter. For the long-term solution, any contribution is welcomed! I will keep the issue opened and will see what can be done for 1.8.0.
from async-http-client.
NettyAsyncHttpProvider does not support authorization customization (I need to implement HTTP-MAC). Every time 401 response returned, Netty takes the control and replays the request with invalid credential. As previous version, Netty supported this kind of customization. Why did you guys remove this feature? The fix is just trival :
if (statusCode == 401
&& wwwAuth.size() > 0
+++++ && realm != null
&& !future.getAndSetAuth(true)) {
from async-http-client.
Looks like the && realm != null
test has been brought back a long time ago: https://github.com/AsyncHttpClient/async-http-client/blob/async-http-client-1.7.24/src/main/java/com/ning/http/client/providers/netty/NettyAsyncHttpProvider.java#L2101
Considering as fixed, please notify otherwise.
from async-http-client.
Related Issues (20)
- Integrating async-http-client into OSS-Fuzz HOT 3
- Remove `Authorization` header on redirects? HOT 1
- JakartaEE Release??? HOT 4
- Add configuration options to enable HttpClientCodec.allowDuplicateContentLengths flag HOT 1
- The code seems to spam org.asynchttpclient.netty.channel.NettyChannelConnector$1.operationComplete() HOT 4
- GetResponseBody() seems to crash, return no errors HOT 1
- Is hostname certifcate validation enabled by default? HOT 1
- How to use SSL proxy with AHC HOT 5
- Exception `java.util.NoSuchElementException: socks` when making https request with socks5 proxy HOT 2
- Shutdown is slow
- Remotely closed RemotelyClosedException
- Netty security issues (CVE-2022-41915 and CVE-2021-43797) HOT 1
- Netty security issues (CVE-2022-41915 and CVE-2021-43797) HOT 3
- use promise mode,MaxConnectionSemaphore do not relase lock until channel close. HOT 2
- Invalid Status code=400 text=Bad Request
- JakartaEE and Java 21 issues
- Setting Loglevel HOT 1
- Requests should take ByteBuf as input data in efficient manner HOT 1
- Response and HttpResponseBodyPart should return ByteBuf HOT 1
- 2.12.4 release with updated Netty dependencies
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from async-http-client.