Add retry logic to httpx Transport
mdlam92 opened this issue · 4 comments
mdlam92 commented
It would be dope if the httpx Transport had support for retry logic like the requests one does.
leszekhanusz commented
For which transport, the sync or async one? HTTPXTransport
or HTTPXAsyncTransport
?
mdlam92 commented
I personally only use the synchronous one. But I'm sure folks would like support in both.
leszekhanusz commented
For async only:
- you can use a permanent session for which retries are enabled by default and can be configured.
For sync and async:
mdlam92 commented
Oh nice, this is awesome. Exactly what I was looking for! Thanks ❤️