我试图获取以下 URL 的页面内容
http://username:5000/check/e9549df676ecca6344ad8ba068d05a6d
所以我尝试编写以下脚本但没有成功
import http.client
conn = http.client.HTTPSConnection("username",5000)
conn.request("GET", "/check/e9549df676ecca6344ad8ba068d05a6d")
r1 = conn.getresponse()
print(r1.read())
当我运行脚本时它会挂起,有人可以帮我吗?
谢谢