python的httplib.HTTPSConnection()会验证客户端服务器的证书吗
暮雨晨舟 2012-09-05 05:14:51 class httplib.HTTPSConnection(host[, port[, key_file[, cert_file[, strict[, timeout[, source_address]]]]]])¶
A subclass of HTTPConnection that uses SSL for communication with secure servers. Default port is 443. key_file is the name of a PEM formatted file that contains your private key. cert_file is a PEM formatted certificate chain file.
Warning:
This does not do any verification of the server’s certificate.
New in version 2.0.
Changed in version 2.6: timeout was added.
Changed in version 2.7: source_address was added.