Revert "timeout header"

This reverts commit c3e415237d.
This commit is contained in:
KatKatKateryna
2024-09-02 12:37:50 +01:00
parent c3e415237d
commit 607dc2e9b4
+1 -1
View File
@@ -888,7 +888,7 @@ class UrlPrefetcher:
keyword argument is set), or the response has a bad status code,
an empty dictionary is returned.
"""
kwargs.setdefault('timeout', 100)
kwargs.setdefault('timeout', 1)
kwargs.setdefault('allow_redirects', True)
try:
response = self._session.head(url, **kwargs)