Website hosting service by Active-Venture.com
  

 Back to Index


11.6.2 HTTPResponse Objects

HTTPResponse instances have the following methods and attributes:

 
read( [amt])
Reads and returns the response body, or up to the next amt bytes.
 
getheader( name[, default])
Get the contents of the header name, or default if there is no matching header.

 

msg
A mimetools.Message instance containing the response headers.

 

version
HTTP protocol version used by server. 10 for HTTP/1.0, 11 for HTTP/1.1.

 

status
Status code returned by server.

 

reason
Reason phrase returned by server.

  

 

2002-2004 Active-Venture.com Webhosting Service

 

Disclaimer: This documentation is provided only for the benefits of our hosting customers.
For authoritative source of the documentation, please refer to http://python.org/doc/
 

 

Cheap domain registration : Buy domain name and enjoy comprehensive free services   Cheap domain registration : Buy domain name or register domain, including free domain hosting services