parameters: (self, req)
docstring: Initialize WSGI Gateway instance with request.
  
          Args:
              req (HTTPRequest): current HTTP request
docstring_summary: Initialize WSGI Gateway instance with request.
docstring_tokens: Initialize WSGI Gateway instance with request .
function: def __init__(self, req):
          """Initialize WSGI Gateway instance with request.
  
          Args:
              req (HTTPRequest): current HTTP request
          """
          super(Gateway, self).__init__(req)
          self.started_response = False
          self.env = self.get_environ()
          self.remaining_bytes_out = None
function_tokens: def __init__ ( self , req ) : super ( Gateway , self ) . __init__ ( req ) self . started_response = False self . env = self . get_environ ( ) self . remaining_bytes_out = None