Base of HttxLib classes that make a connection providing the
definition and (in some cases) the implementation of primitives
|
|
|
add_ca_cert(self,
url,
ca_cert)
Sets the path to a file that contains the root (chain) certificate(s)
to be used if the certificate of the server pointed by url has been
requested to be verified with add_cert_req and ssl.CERT_OPTIONAL or
ssl.CERT_REQUIRED was specified Please check the Python SSL
documentation |
source code
|
|
|
add_cert_req(self,
url,
cert_req)
Sets the certificate verification level for the server certificate in
the given url. |
source code
|
|
|
add_certkey(self,
url,
certfile,
keyfile)
Sets a certificate file and (if needed) a private key
file to be used for https authentication in the domain given in
the url The private key file is needed if the private key is not
stored in the certificate. |
source code
|
|
|
add_password(self,
realm,
url,
username,
password)
Sets a username and password for a realm and base url |
source code
|
|
HttxResponse (compatible with httplib HTTPResponse)
@raise NotImplemented
|
|
opaque type for the caller (a Python sock) @raise NotImplemented
|
|
|
|
|
|
|
|
|
|
HttxResponse (compatible with httplib HTTPResponse)
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|