python socket https请求及处理

import socket import ssl def https_test(url): proto = "http" host = "" port = 80 up = urlparse(url) if (up.scheme != ""): proto = up.scheme print "proto=%s"%proto
相关文章
相关标签/搜索