| Home | Trees | Indices | Help |
|
|---|
|
|
httplib.HTTPConnection --+
|
httplib.HTTPSConnection --+
|
HTTPSxConnection
Reimplementation of HTTPSConnection but sublcassing from HTTPSConnection to allow certificate validation if wished
HTTPxConnection omitted this possibilitiy which is supported by the Python ssl library and the wrap_socket functionality
HTTPxConnection is subclassed, receives two new member variables and overrides connect to better call ssl.wrap_socket
Please read the Python 2.6 documentation on SSL and certificate validation
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
| str |
ca_certs Path to the file containing the root (chain of) certificate(s) |
||
| enumeration |
cert_reqs It dictates if certificate validation will be done. |
||
|
|||
Constructor. It delegates construction to the base class HTTPConnection and initializes the new member variables with the default values from the Python documentation
|
Opens the connection and wraps it in a ssl socket Overrriding is needed to enable certificate validation
|
|
|||
cert_reqsIt dictates if certificate validation will be done. It uses the ssl: CERT_NONE, CERT_OPTIONAL, CERT_REQUIRED values from the ssl module
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sat Aug 13 14:56:41 2011 | http://epydoc.sourceforge.net |