tesla icon indicating copy to clipboard operation
tesla copied to clipboard

The flexible HTTP client library for Elixir, with support for middleware and multiple adapters.

Results 82 tesla issues
Sort by recently updated
recently updated
newest added

When using Plug, we are able to serialize nested maps to query params. e.g. `Plug.Conn.Query.encode(%{filters: %{ name: "dave", direction: "asc", pagination: %{ page: 1} } })` which would give us...

The function takes the result and env from the previous attempt and returns a new env for the retry request. It allows supporting "retry with new authorization token" cases.

Continuation of https://github.com/teamon/tesla/pull/264

feature :sparkles:

Hello, love your library! I just wanted to add a retry for my existing API client using the Retry middleware. I expected it would retry on timeouts, but it does...

Hi :wave: We recently discovered - luckily before going to production - that we leaked secret tokens for an API integration, as we were doing something like this ```elixir {:ok,...

This PR handles {:push_promise, request_ref(), promised_request_ref :: request_ref(), headers()}. And also {:error, ref, error} that seems to be missing as well. Let me know if I can improve this @teamon...

mint
fix :fire_extinguisher:

[copy from #240] Timeout middleware has been causing issues for a long long time (#151, #157, #237 and more). The two biggest problems with it are the use of `Task`...

idea :bulb:

Should resolve #385. This is my first time making a contribution. Let me know if there is anything I should do differently.

fix :fire_extinguisher:

I have seen this being a pain point a few times so maybe it's useful for someone else. A typical use-case is the following: A third-party library (i.e GitHub) exposes...

feature :sparkles:

## Context One of the popular OpenAPI generators creates per codegen a file called `RequestBuilder`, for example: ```elixir # NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). #...