摘要: import reimport socketimport sysimport urllib2import sslclass InvalidCertificateException(httplib.HTTPException, urllib2.URLError): def __init__(self, host, cert, reason): httplib.HTTPException.__init__(self) self.host = host self.cert = cert self.reason = reason def __str__(self): return ('Host 阅读全文
posted @ 2012-06-14 18:24 功夫 熊猫 阅读(876) 评论(0) 推荐(0)