aiohttp_retry icon indicating copy to clipboard operation
aiohttp_retry copied to clipboard

Simple retry client for aiohttp.

Results 18 aiohttp_retry issues
Sort by recently updated
recently updated
newest added

I am trying to implement retries for the following exception: `aiohttp.client_exceptions.ContentTypeError: 0, message = 'Unexpected attempt to decode JSON with mimetype:'` for that I use this retry options: ``` from...

Hi, one of our current server limit the API with 429 and send the waiting time in the retry-after header (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After) WIth python requests module and the serial work with...

The RetryClient() object fails to close with **Timeout error/Error while closing connector** error when the raise_for_status is set to false ``` retry_options = ExponentialRetry(attempts=3, start_timeout=0.5) async def request_start_callback( session: ClientSession,...

Hello, here is an example I have been struggling with recently. When chunked transfer encoding is enabled on the server RetryClient isn't able to retry request in case of responses...

I use jwt in header to authenticate as client. However after some retries the token expires and retrying will fail unless I update the token. Is it possible to add...

Hello, I don't know which considerations were applied when this library was designed, and whether keeping dependencies to an absolute minimal is a requirement, but if this is not the...

good first issue

I like this library, however I'm missing a feature to evaluate the response in custom callback. There are APIs, that return by default 200 OK with errors description in response...

For example, if the first attempt is unsuccessful, change the parameter proxy and try again

Hello, I noticed that if I add the normal `aiohttp.ClientTimeout(total=3)` setting to either the `Client class` or to one of the `methods`, the total timeout seems to be ignored, instead,...

## Background and Expected Behavior `ExponentialRetry` takes in [the following arguments](https://github.com/inyutin/aiohttp_retry/blob/ba2169891f5b32a5c59e48ca185dd8e68e44ded7/aiohttp_retry/retry_options.py#L38-L49): ```python class ExponentialRetry(RetryOptionsBase): def __init__( self, attempts: int = 3, # How many times we should retry start_timeout: float...