hackney
hackney copied to clipboard
simple HTTP client in Erlang
Not sure if this is a spec violation, but: ``` :hackney_headers.content_disposition("attachment; filename=\"ig-ag302.html\";") {:error, :badarg} :hackney_headers.content_disposition("attachment; filename=\"ig-ag302.html\"") {"attachment", [{"filename", "ig-ag302.html"}]} ``` Encountered that when running against a local endpoint. For now...
Hiya, looks like the header parsing does not finish parsing the `Location` header when the url is incredibly long. This is in version 1.15.2. This might also occur when there...
When making a TCP request with a bad port, exit signal is chained to the parent process. ### Environments: ``` OTP 20.3 Elixir 1.9.4 Httpoison 1.6.2 Hackney 1.15.2 ``` ###...
Hi! I use `hackney_url:qa` to urlencode, when the value is a list, it will be wrong. ``` 6> hackney_url:qs([{, [,]}]). ``` In Python: ``` In [4]: urllib.urlencode({'deviceTokenList': ['08670650250202362000003019000001', 'sdfsdf']}) Out[4]:...
Hi Guys, I caught weird behavior when I worked behind proxy. Server 1 (behind proxy): OS: Redhat. `Erlang/OTP 20 [erts-9.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe] [kernel-poll:false]` ``` options =...
I'm trying use this proxy service with hackney: http://docs.proxymesh.com/article/7-request-response-headers#https It reports current IP with custom header. When I call http host, it's appended, but this is obviously not the case...
I'm using [Hackney](https://github.com/benoitc/hackney) in an Elixir Project where I try to connect to multiple Tor circuits at a time via SOCKS5. I'm making this requests to a site that simply...
Apparently using `follow_redirect` and a proxy won't work for the following requests. Initially reported by https://github.com/edgurgel/httpoison/issues/112
Hackney just support basic proxy-authenticate, but this is not enough. We know that many corporation proxy server do `NTLM` or `Kerberos` or `Negotiate` proxy authenticate, rather than basic authenticate. So...
I am doing some refactoring and I am wondering what is the common version to support. So please answer to the poll :) [![](https://api.gh-polls.com/poll/01DVFXTTGD83TNWFZT8DAVHXSJ/OTP%2019)](https://api.gh-polls.com/poll/01DVFXTTGD83TNWFZT8DAVHXSJ/OTP%2019/vote) [![](https://api.gh-polls.com/poll/01DVFXTTGD83TNWFZT8DAVHXSJ/OTP%2020)](https://api.gh-polls.com/poll/01DVFXTTGD83TNWFZT8DAVHXSJ/OTP%2020/vote) [![](https://api.gh-polls.com/poll/01DVFXTTGD83TNWFZT8DAVHXSJ/%3E%20OTP%2020)](https://api.gh-polls.com/poll/01DVFXTTGD83TNWFZT8DAVHXSJ/%3E%20OTP%2020/vote)