diff --git a/monitor.py b/monitor.py index 126152c..d1359b4 100644 --- a/monitor.py +++ b/monitor.py @@ -73,7 +73,7 @@ def http_requirement(url: str, code: int) -> bool: passed = False for i in range(2): try: - resp = requests.get(url) + resp = requests.head(url) except requests.exceptions.ConnectionError: passed = False else: