Skip to content

Commit 8f6a409

Browse files
committed
Remove HTTP adapter configuration to ensure all API calls use HTTPS
1 parent 300cb25 commit 8f6a409

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

arxiv_fetch.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ def get_requests_session():
196196
status_forcelist=[408, 429, 500, 502, 503, 504],
197197
)
198198
session = requests.Session()
199-
session.mount("http://", HTTPAdapter(max_retries=retry_strategy))
200199
session.mount("https://", HTTPAdapter(max_retries=retry_strategy))
201200
return session
202201

0 commit comments

Comments
 (0)