class documentation
class FakePayload: (source)
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 | read |
Undocumented |
Instance Variable | __content |
Undocumented |
Instance Variable | __len |
Undocumented |