هذا الالتزام موجود في:
ayashosha
2026-07-29 05:15:26 +03:00
الأصل 91e3e0f709
التزام 0a4a236f77
13 ملفات معدلة مع 756 إضافات و0 حذوفات

عرض الملف

@@ -0,0 +1,13 @@
from urllib.request import urlopen
from urllib.error import HTTPError
import time
while True:
try:
with urlopen('https://my-application-2f85feb054d8.hosted.ghaymah.systems/health') as response:
print(f"Status Code: {response.status}")
except HTTPError as error:
print(f"Error Status Code: {error.code}")
time.sleep(30)