httpotion icon indicating copy to clipboard operation
httpotion copied to clipboard

[Deprecated because ibrowse is not maintained] HTTP client for Elixir (use Tesla please)

Results 7 httpotion issues
Sort by recently updated
recently updated
newest added

Might be handy to keep track of redirects when `follow_redirects` is set to true. I could see this as a list of "from" -> "to" pairs or something along those...

Making a `GET` request on a URI that follows redirects like so: ```elixir payload = [ body: "", follow_redirects: true, headers: [ "...": ..., "Content-Type": "application/json", ] ] HTTPotion.get "api.example.com/path/to/resource",...

When receiving a 304, the library tries to request the URL of the Location header https://github.com/myfreeweb/httpotion/blob/9172d089cd1d47cdd772d97db750882cc741055f/lib/httpotion.ex#L200-L202 https://github.com/myfreeweb/httpotion/blob/9172d089cd1d47cdd772d97db750882cc741055f/lib/httpotion.ex#L243-L247 As the Location header is not set on a [HTTP 304](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/304), `normalize_location` crashes...

**Prerequisites:** - Elixir 1.4.5 - OTP 19 When I've try to send a post an endpoint, the response send `message: "closed"` ```json iex(5)> HTTPotion.post(url, [body: body, headers: headers]) %HTTPotion.ErrorResponse{message: "closed"}...

In my project I spawn separate process for each download with HTTPotion, which works perfect on small download numbers (

I use a timeout of 500ms for a call to an external service. Sometimes the request times out and that's fine, but then my GenServer recieves a message of the...

I see a lot of `retry_later` errors in production. Searching a bit, I found that I need to set maximum number of sessions and pipeline size (right?). How can I...