class documentation

class _LengthLimitedFile(object):

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.

Method __init__ Undocumented
Method read Undocumented
Instance Variable _bytes_avail Undocumented
Instance Variable _input Undocumented
def __init__(self, input, max_bytes):

Undocumented

def read(self, size=-1):

Undocumented

_bytes_avail =

Undocumented

_input =

Undocumented