Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
HTTPS Class Reference
Inheritance diagram for HTTPS:
HTTP

Public Member Functions

def __init__
 
- Public Member Functions inherited from HTTP
def __init__
 
def connect
 
def getfile
 
def putheader
 
def getreply
 
def close
 

Data Fields

 key_file
 
 cert_file
 
- Data Fields inherited from HTTP
 send
 
 putrequest
 
 endheaders
 
 set_debuglevel
 
 file
 hmm. More...
 
 headers
 

Additional Inherited Members

- Static Public Attributes inherited from HTTP
int debuglevel = 0
 

Detailed Description

Compatibility with 1.5 httplib interface

Python 1.5.2 did not have an HTTPS class, but it defined an
interface for sending http requests that is also useful for
https.

Definition at line 782 of file httplib.py.

Constructor & Destructor Documentation

def __init__ (   self,
  host = '',
  port = None,
  x509 
)

Definition at line 792 of file httplib.py.

793  def __init__(self, host='', port=None, **x509):
794  # provide a default host, pass the X509 cert info
795 
796  # urf. compensate for bad input.
797  if port == 0:
798  port = None
799  self._setup(self._connection_class(host, port, **x509))
800 
801  # we never actually use these for anything, but we keep them
802  # here for compatibility with post-1.5.2 CVS.
803  self.key_file = x509.get('key_file')
804  self.cert_file = x509.get('cert_file')
805 

Field Documentation

cert_file

Definition at line 803 of file httplib.py.

key_file

Definition at line 802 of file httplib.py.


The documentation for this class was generated from the following file: