Package pyGlobus :: Module io :: Class GSIHTTPConnection
[show private | hide private]
[frames | no frames]

Class GSIHTTPConnection

HTTPConnection --+
                 |
                GSIHTTPConnection


This class allows communication via SSL.
Method Summary
  __init__(self, host, port, tcpAttr, channel_mode, delegation_mode)
  close(self)
Close the given connection
  connect(self)
Open the GSITCPSocket connection.
    Inherited from HTTPConnection
  endheaders(self)
Indicate that the last header line has been sent to the server.
  getresponse(self)
Get the response from the server.
  putheader(self, header, value)
Send a request header line to the server.
  putrequest(self, method, url, skip_host, skip_accept_encoding)
Send a request to the server.
  request(self, method, url, body, headers)
Send a complete request to the server.
  send(self, str)
Send `str' to the server.
  set_debuglevel(self, level)

Class Variable Summary
    Inherited from HTTPConnection
int auto_open = 1                                                                     
int debuglevel = 0                                                                     
int default_port = 80                                                                    
int strict = 0                                                                     

Method Details

__init__(self, host, port=None, tcpAttr=None, channel_mode=1, delegation_mode=2)
(Constructor)

Parameters:
host - A python string of the host name to connect to
tcpAttr - A TCPIOAttr object which determines the properties of your connection
channel_mode - The data will be transported in the clear, encrypted using GSI or encrypted using SSL
delegation_mode - if channel_mode is GSI then this determines the type of delegation to do. Delegation can be NONE, LIMITED, FULL
Overrides:
httplib.HTTPConnection.__init__

close(self)

Close the given connection
Overrides:
httplib.HTTPConnection.close

connect(self)

Open the GSITCPSocket connection.
Overrides:
httplib.HTTPConnection.connect

Generated by Epydoc 2.1 on Tue Apr 4 14:32:52 2006 http://epydoc.sf.net