We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 85560b9 + 8208c3f commit d864f52Copy full SHA for d864f52
core/utils.py
@@ -20,7 +20,7 @@
20
import time
21
import requests, json
22
from colorama import init , Style,Fore
23
-import http.client
+import httplib
24
init()
25
26
class utils:
@@ -136,7 +136,7 @@ def checkPort(port):
136
137
@staticmethod
138
def checkUrl(url):
139
- c = http.client.HTTPConnection(url, timeout=5)
+ c = httplib.HTTPConnection(url, timeout=5)
140
try:
141
c.request("HEAD", "/")
142
c.close()
0 commit comments