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

Public Member Functions

def make_connection
 
def send_host
 
- Public Member Functions inherited from Transport
def request
 
def getparser
 
def make_connection
 
def send_request
 
def send_host
 
def send_user_agent
 
def send_content
 
def parse_response
 

Additional Inherited Members

- Data Fields inherited from Transport
 verbose
 
- Static Public Attributes inherited from Transport
string user_agent = "xmlrpclib.py/%s (by www.pythonware.com)"
 

Detailed Description

Handles an HTTPS transaction to an XML-RPC server.

Definition at line 898 of file xmlrpclib.py.

Member Function Documentation

def make_connection (   self,
  host 
)

Definition at line 901 of file xmlrpclib.py.

902  def make_connection(self, host):
903  # create a HTTPS connection object from a host descriptor
904  # host may be a string, or a (host, x509-dict) tuple
905  import httplib
906  if isinstance(host, TupleType):
907  host, x509 = host
908  else:
909  x509 = {}
910  try:
911  HTTPS = httplib.HTTPS
912  except AttributeError:
913  raise NotImplementedError,\
914  "your version of httplib doesn't support HTTPS"
915  else:
916  return apply(HTTPS, (host, None), x509)
def send_host (   self,
  connection,
  host 
)

Definition at line 917 of file xmlrpclib.py.

918  def send_host(self, connection, host):
919  if isinstance(host, TupleType):
920  host, x509 = host
921  connection.putheader("Host", host)

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