python-craigslist icon indicating copy to clipboard operation
python-craigslist copied to clipboard

Use requests.Session and urllib3.Retry support

Open incontestableness opened this issue 2 years ago • 0 comments

Using requests.Session() allows for keep-alive connections and prevents repeated DNS queries that can cause some caching resolvers to fail transiently. Using urllib3.Retry allows for better, more dynamic handling of request retries.

incontestableness avatar Jul 27 '22 21:07 incontestableness