def __init__(self, environ, limit): LimitedStreamBase.__init__(self, environ['wsgi.input'], min(limit, int(environ.get('CONTENT_LENGTH') or 0)), silent=True)
def __init__(self, environ, limit): LimitedStreamBase.__init__(self, environ['wsgi.input'], min(limit, int(environ.get('CONTENT_LENGTH') or 0)), silent=True )