mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 22:54:16 +02:00
[wgem] filling preset app options
This commit is contained in:
@@ -73,6 +73,5 @@ class HttpClient:
|
||||
return system.get_human_size_str(size)
|
||||
|
||||
def exists(self, url: str) -> bool:
|
||||
res = self.session.get(url=url, allow_redirects=True, ignore_ssl=True)
|
||||
res = self.session.head(url=url, allow_redirects=True, verify=False, timeout=5)
|
||||
return res.status_code == 200
|
||||
|
||||
|
||||
Reference in New Issue
Block a user