def __call__(self, environ, start_response): request = Request(environ) response = self.process_request(request) return response(environ, start_response)