class documentation

class FakePayload:

View In Hierarchy

A wrapper around BytesIO that restricts what can be read since data from the network can't be sought and cannot be read outside of its content length. This makes sure that views can't do anything under the test client that wouldn't work in real life.
Method __init__ Undocumented
Method __len__ Undocumented
Method read Undocumented
Method write Undocumented
Instance Variable __content Undocumented
Instance Variable __len Undocumented
Instance Variable read​_started Undocumented
def __init__(self, content=None):

Undocumented

def __len__(self):

Undocumented

def read(self, num_bytes=None):

Undocumented

def write(self, content):

Undocumented

__content =

Undocumented

__len: int =

Undocumented

read_started: bool =

Undocumented