'Pass read request to the underlying file-like object and
add bytes read to total.'

def read(self, *args, **kwargs):

    try:
        chunk = self.wsgi_input.read(*args, **kwargs)
    except Exception:
        self.client_disconnect = True
        raise
    self.bytes_received += len(chunk)
    return chunk
