| Trees | Indices | Help | 
        
  | 
  
|---|
| 
       | 
  
HTTP module.
    
  | 
|||
  
  | |||
    
  | 
|||
| 
        HttpError Internal exception for HTTP errors.  | 
  |||
| 
        HttpConnectionClosed Internal exception for a closed connection.  | 
  |||
| 
        HttpSessionHandshakeUnexpectedEOF Internal exception for errors during SSL handshake.  | 
  |||
| 
        HttpSocketTimeout Internal exception for socket timeouts.  | 
  |||
| HttpException | |||
| 
        HttpBadRequest 400 Bad Request  | 
  |||
| 
        HttpUnauthorized 401 Unauthorized  | 
  |||
| 
        HttpForbidden 403 Forbidden  | 
  |||
| 
        HttpNotFound 404 Not Found  | 
  |||
| 
        HttpMethodNotAllowed 405 Method Not Allowed  | 
  |||
| 
        HttpNotAcceptable 406 Not Acceptable  | 
  |||
| 
        HttpRequestTimeout 408 Request Timeout  | 
  |||
| 
        HttpConflict 409 Conflict  | 
  |||
| 
        HttpGone 410 Gone  | 
  |||
| 
        HttpLengthRequired 411 Length Required  | 
  |||
| 
        HttpPreconditionFailed 412 Precondition Failed  | 
  |||
| 
        HttpUnsupportedMediaType 415 Unsupported Media Type  | 
  |||
| 
        HttpInternalServerError 500 Internal Server Error  | 
  |||
| 
        HttpNotImplemented 501 Not Implemented  | 
  |||
| 
        HttpBadGateway 502 Bad Gateway  | 
  |||
| 
        HttpServiceUnavailable 503 Service Unavailable  | 
  |||
| 
        HttpGatewayTimeout 504 Gateway Timeout  | 
  |||
| 
        HttpVersionNotSupported 505 HTTP Version Not Supported  | 
  |||
| 
        HttpSslParams Data class for SSL key and certificate.  | 
  |||
| 
        HttpBase Base class for HTTP server and client.  | 
  |||
| 
        HttpMessage Data structure for HTTP message.  | 
  |||
| 
        HttpClientToServerStartLine Data structure for HTTP request start line.  | 
  |||
| 
        HttpServerToClientStartLine Data structure for HTTP response start line.  | 
  |||
| 
        HttpMessageWriter Writes an HTTP message to a socket.  | 
  |||
| 
        HttpMessageReader Reads HTTP message from socket.  | 
  |||
    
  | 
|||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
Imports: logging, mimetools, OpenSSL, select, socket, errno, StringIO, constants, utils
    
  | 
|||
  
 Wrapper around socket functions. This function abstracts error handling for socket operations, especially for the complicated interaction with OpenSSL. 
  | 
  
 Closes the connection. 
  | 
  
 Shakes peer's hands. 
  | 
  
 Initializes the SSL infrastructure. This function is idempotent.  | 
| Trees | Indices | Help | 
        
  | 
  
|---|
| Generated by Epydoc 3.0.1 on Mon Dec 20 13:26:36 2010 | http://epydoc.sourceforge.net |