aiohttp_retry icon indicating copy to clipboard operation
aiohttp_retry copied to clipboard

Allow to retry based on HTTP Method

Open Legion2 opened this issue 1 year ago • 0 comments

In general HEAD, GET, OPTIONS, and PUT requests have no side effects and are therefore safe to retry. However, POST requests implement by definition side effects and retrying them can cause undesired side effects (e.g. duplicate entries). So there should be a way to configure which requests based on the HTTP method should be retried and which not.

Legion2 avatar Nov 29 '22 18:11 Legion2