async-http-client
async-http-client copied to clipboard
HTTP client library built on SwiftNIO
Besides the currently available "Basic" and "Bearer" authentication it would be great to see support for NTLM authentication, either directly or by enabling connection-scoped authentication in a generic way to...
In some cases we need more control over which connections are used and must prevent that connections are used for other requests outside of a certain context. An example of...
I notice that my code fails after [(fail if user tries writing bytes after request is sent #270)](https://github.com/swift-server/async-http-client/pull/270) change. Background: I use this API https://docs.docker.com/engine/api/v1.41/#operation/ContainerAttach that hijack the connection and...
Historically we had many bugs like #348 where the delegate was called out multiple times "at the same time" (or didn't end up in a final state). This can be...
AsyncHTTPClient is currently dependent on Foundation. Would removing this dependency be a target for AHC? I have done a quick test to see where Foundation is being used. The main...
AHC has an interesting quirk with how it supports `unix:` URLs - if the URL has a `baseURL`, the path of that base URL is taken as the socket path,...
Developers want to monitor metrics of outgoing http requests to identify potential causes of issues with dashboards. While it is possible to generate some metrics by implementing a custom `HTTPClientResponseDelegate`...
when downloading in the non-streaming interface, AHC will buffer anything into memory without limits
If users don't use the streaming interface (which is likely), then AHC will just buffer everything into memory without any limit. Worse, not only is the default "no limit" but...
Repeatedly calling `flush` doesn't seem very optimal. - `HTTPClient.execute` calls `writeAndFlush` and because the body write isn't queued until the head has been written, the flush occurs immediately after the...
Whether (and how many times) you want to redirect is usually a setting that you want to be able to set per request and not globally per HTTPClient. Unfortunately, from...