class documentation

Wrapper around a requests.Response that provides a file-like object interface with read(), seek(), and tell() methods.

Source:
https://gist.github.com/obskyr/b9d4b4223e7eaf4eedcd9defabb34f13
Parameters
responsea requests.Response
chunk_sizethe chunk size to use to read the response's content
Method __init__ Undocumented
Method read Undocumented
Method seek Undocumented
Method tell Undocumented
Method _load_all Undocumented
Method _load_until Undocumented
Instance Variable _bytes Undocumented
Instance Variable _iterator Undocumented
Instance Variable _response Undocumented
def __init__(self, response, chunk_size=64): (source)

Undocumented

def read(self, size=None): (source)

Undocumented

def seek(self, position, whence=io.SEEK_SET): (source)

Undocumented

def tell(self): (source)

Undocumented

def _load_all(self): (source)

Undocumented

def _load_until(self, goal_position): (source)

Undocumented

Undocumented

_iterator = (source)

Undocumented

_response = (source)

Undocumented