Classes | Functions | Variables
tornado::simple_httpclient Namespace Reference

Classes

class  _HTTPConnection
class  CertificateError
class  SimpleAsyncHTTPClient

Functions

def _dnsname_to_pat
def match_hostname

Variables

tuple _DEFAULT_CA_CERTS = os.path.dirname(__file__)
 ssl = None

Function Documentation

Definition at line 471 of file simple_httpclient.py.

def tornado.simple_httpclient.match_hostname (   cert,
  hostname 
)
Verify that *cert* (in decoded format as returned by
SSLSocket.getpeercert()) matches the *hostname*.  RFC 2818 rules
are mostly followed, but IP addresses are not accepted for *hostname*.

CertificateError is raised on failure. On success, the function
returns nothing.

Definition at line 485 of file simple_httpclient.py.


Variable Documentation

tuple tornado::simple_httpclient::_DEFAULT_CA_CERTS = os.path.dirname(__file__)

Definition at line 35 of file simple_httpclient.py.

Definition at line 33 of file simple_httpclient.py.



roswww
Author(s): Jonathan Mace
autogenerated on Thu Jan 2 2014 11:53:30