hackney icon indicating copy to clipboard operation
hackney copied to clipboard

simple HTTP client in Erlang

Results 117 hackney issues
Sort by recently updated
recently updated
newest added

Add absolute and relative redirect tests using a proxy I'm getting this message for the relative: ``` 127.0.0.1:64644: ProtocolException("Error in HTTP connection: HttpException('Invalid HTTP request form (expected: authority or absolute,...

Similar to #176 and, maybe, #246.

http
lib

Hello, I am trying to make a POST request with `Content-Type: multipart/form-data` but cant find any documentation about how to construct such a request body. Postman: ![image](https://user-images.githubusercontent.com/18681086/66117591-1861e200-e5ff-11e9-8761-164bf4ce301f.png) ![image](https://user-images.githubusercontent.com/18681086/66117606-21eb4a00-e5ff-11e9-9f29-436de4e5dcd3.png) Really appreciate...

Documentation

I have been mocking a (poorly written) HTTP request by a coworker and after a lot of debugging found that the request was failing to emit a content-type header, it...

feature

It looks like hackney is just splitting on `@` and winds up trying to treat part of the credentials as the port when a url containing `@` in the credentials...

``` ** (FunctionClauseError) no function clause matching in :hackney_url.transport_scheme/1 (hackney) ../deps/hackney/src/hackney_url.erl:107: :hackney_url.transport_scheme(:hackney_http_connect) (hackney) ../deps/hackney/src/hackney.erl:888: :hackney.absolute_url/2 (hackney) ../deps/hackney/src/hackney.erl:738: :hackney.maybe_redirect/2 (hackney) ../deps/hackney/src/hackney.erl:374: :hackney.send_request/2 lib/httpoison/base.ex:402: HTTPoison.Base.request/9 ``` This happens only on redirection to...

http11
http
proxy

I am using `hackney` via HTTPoison and in a request for a specific host I am getting `{:error, :closed}` when making the request through a proxy. In the beginning my...

bug
high priority
proxy

If I'm not mistaken it is not possible to use the default `partial_chain` option when using custom ssl_options in 1.16.0 since `partial_chain/1` isn't exported anymore. Or is there a possibility...

Hi, Hackney specifies the following status codes as redirects follow with follow_redirect: https://github.com/benoitc/hackney/blob/6bd1f46d98757246cd0896624ff12587451ed122/src/hackney.erl#L735 I think [HTTP 308](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/308) should be included too. For instance, pinterest returns HTTP 308 when accessing the...

After using hackney with cowboy, it appears that inform responses are not supported, and that hackney is awaiting further data even though the response has been sent. A sample repository...

bug
coming soon