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
相關文章
相關標籤/搜索