Python实现的检测web服务器健康状况的小程序

python urllib如何获取http状态码 f=urllib.urlopen("xxxxxx") print f.getcode() #这就是获取返回的状态码 404 200等 python 服务器状态探测3种方法 1、 关键字分析  import os  #https网站加-k cmd = ''' (curl --no-keepalive --connect-timeout 18 --st
相关文章
相关标签/搜索