dulwich.web._LengthLimitedFile(object)
class documentationdulwich.web
(View In Hierarchy)
Wrapper class to limit the length of reads from a file-like object.
This is used to ensure EOF is read from the wsgi.input object once Content-Length bytes are read. This behavior is required by the WSGI spec but not implemented in wsgiref as of 2.5.