Replies: 3 comments
-
This is the relevant part of our documentation... |
Beta Was this translation helpful? Give feedback.
-
I already read it before posting. There are like only two lines of code in this doc, and I tried the following, but did not work. transport = httpx.HTTPTransport(retries=5)
client = httpx.Client(transport=transport)
r = client.get(url, params=params) Is there anyway I could put a |
Beta Was this translation helpful? Give feedback.
-
I found this page with examples on how to use HTTPTransport https://www.python-httpx.org/advanced/transports/ but a more detailed page showing all the arguments might help. |
Beta Was this translation helpful? Give feedback.
-
I couldn't find any docs for
HTTPTransport
on www.python-httpx.org. Its docstring does not have any explanations for each param either.Am I missing something?
I am trying to convert some of my requests code like the following and had to add a retry as I'm getting some 502 from time to time.
Beta Was this translation helpful? Give feedback.
All reactions