def __init__(self, environ, *args, **kwargs): # apply environment wrapper to provided WSGI environment flask.Request.__init__(self, self.environment_wrapper(environ), *args, **kwargs)