hackney
hackney copied to clipboard
simple HTTP client in Erlang
When a request is made to a server running on a non-standard port, the port should be included in the Host header. This is part of [RFC-2616](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.23). When `follow_redirect` is...
2021-06-14 13:47:38.633 [warning] @butler_client_hackney:request:121 HTTP Request unsuccessful: Reason checkout_failure, Retrying after 4000 Request: {"http://192.168.5.107:8080/api-gateway/auth-service/platform-auth/oauth/token",[{"Authorization","Basic ABCD"},{"Cache-Control","no-cache"}],"application/x-www-form-urlencoded","grant_type=client_credentials&client_id=butlerx&client_secret=butlerx"} Method: post This error goes away when I use: {use_default_pool, false}
An initial stab at merging my wrapper into hackney its-self which addresses issue https://github.com/benoitc/hackney/issues/155 To use this, just pass `compress` as an option to `hackney:{request,get,...}`.
Hello, do you have any plans about adding support of `telemetry`? From https://github.com/edgurgel/httpoison/issues/383
Hackney send authorization header on redirect, similar issue as [CVE-2018-1000007](https://curl.se/docs/CVE-2018-1000007.html) in cURL. [cURL](https://curl.se/docs/manpage.html) uses the flag `--location-trusted`. Should we implement something like this? This can be seen on redirect to...
I'm not sure if this is the best place to post this. My issues looks like it is similar to [439](https://github.com/benoitc/hackney/issues/439) but it might just be related to how I...
Some website send 103 response before the 200, even in http1.1. One such is http://www.theregister.com It could be a cloudflare thing. hackney 1.8.0: ``` iex(3)> :hackney.request("https://www.theregister.com/") {:ok, 103, [ {"Link",...
### Versions: Hackney: `1.16.0` HttPoison: `1.7.0` Elixir/Erlang: ``` Erlang/OTP 21 [erts-10.3] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] Elixir 1.10.3 (compiled with Erlang/OTP 21) ``` ## Simplest Repro: Set max pool size to...
Hello! I'm testing my application behaviour with different network timeouts and getting strange error results when unsig hackney with or without connection pool. First, for testing connection timeout I set...