Package restkit :: Module client :: Class HttpResponse
[hide private]
[frames] | no frames]

Class HttpResponse

source code

object --+
         |
        HttpResponse

Http Response object returned by HttpConnction

Instance Methods [hide private]
 
__init__(self, http_client)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__getitem__(self, key) source code
 
__contains__(self, key) source code
 
__iter__(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  charset = 'utf8'
  unicode_errors = 'strict'
Properties [hide private]
  body
body in bytestring
  body_file
return body as a file like object
  unicode_body
like body but converted to unicode

Inherited from object: __class__

Method Details [hide private]

__init__(self, http_client)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

Property Details [hide private]

body

body in bytestring

Get Method:
unreachable.body(self) - body in bytestring

body_file

return body as a file like object

Get Method:
unreachable.body_file(self) - return body as a file like object

unicode_body

like body but converted to unicode

Get Method:
unreachable.unicode_body(self) - like body but converted to unicode