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, response, final_url)
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
 
body_string(self, charset=None, unicode_errors='strict')
return body string, by default in bytestring
source code
 
body_stream(self)
return full body stream
source code
 
close(self)
release the socket
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'
  body = <Deprecated attribute body: <property object at 0x97197...
  body_file = <Deprecated attribute body_file: <property object ...
  unicode_body = <Deprecated attribute unicode_body: <property o...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, response, final_url)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

body

Value:
<Deprecated attribute body: <property object at 0x97197d4>>

body_file

Value:
<Deprecated attribute body_file: <property object at 0x97191bc>>

unicode_body

Value:
<Deprecated attribute unicode_body: <property object at 0x97192ac>>