Home | Trees | Index | Help |
---|
Package tlslite :: Package integration :: Module HTTPTLSConnection :: Class HTTPBaseTLSConnection |
|
HTTPConnection
--+
|
HTTPBaseTLSConnection
HTTPTLSConnection
Method Summary | |
---|---|
__init__(self,
host,
port,
strict)
| |
Connect to the host and port specified in __init__. | |
Called to perform some sort of handshake. | |
Inherited from HTTPConnection | |
Close the connection to the HTTP server. | |
Indicate that the last header line has been sent to the server. | |
Get the response from the server. | |
Send a request header line to the server. | |
Send a request to the server. | |
Send a complete request to the server. | |
Send `str' to the server. | |
| |
Add a line of output to the current request buffer. | |
Send the currently buffered request and clear the buffer. | |
| |
|
Class Variable Summary | |
---|---|
int |
default_port = 443 |
Inherited from HTTPConnection | |
int |
auto_open = 1 |
int |
debuglevel = 0 |
int |
strict = 0 |
int |
_http_vsn = 11 |
str |
_http_vsn_str = 'HTTP/1.1'
|
Method Details |
---|
connect(self)Connect to the host and port specified in __init__.
|
_handshake(self, tlsConnection, tlsSession)Called to perform some sort of handshake. This method must be overridden in a subclass to do some type of handshake. This method will be called after the socket has been connected but before any data has been sent. If this method does not raise an exception, the TLS connection will be considered valid. This method may (or may not) be called every time an HTTP request is performed, depending on whether the underlying HTTP connection is persistent. The first time this method is called, tlsSession will be None, but on subsequent requests it will contain the session from the previous connection. This session should be passed to the handshake function to enable session resumption.
|
Class Variable Details |
---|
default_port
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Sun Mar 21 00:04:58 2004 | http://epydoc.sf.net |