def __init__(self, app, req_env, content_type): HttpMethodContext.__init__(self, app, req_env, content_type) self.transport = WsgiTransportContext(req_env, content_type) """Holds the WSGI-specific information"""
def __init__(self, app, request, content_type): HttpMethodContext.__init__(self, app, request, content_type) self.transport.type = 'twisted.web'