I want to retry the python requests.get(). I know we can do it with sessions but in a specific case I need to retry the requests.get() only so I wanted to know how do that? Is there any parameter like in session that we can pass?
Asked
Active
Viewed 483 times
0
-
https://stackoverflow.com/questions/15431044/can-i-set-max-retries-for-requests-request – Rahul Jan 06 '22 at 05:28
-
I can not find any solution without using session? – Captain Jan 06 '22 at 06:12
-
See in answer.. – Rahul Jan 06 '22 at 10:09