예제 #1
0
파일: wsgi.py 프로젝트: teratorn/rpclib
    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"""
예제 #2
0
파일: twisted_.py 프로젝트: teratorn/rpclib
    def __init__(self, app, request, content_type):
        HttpMethodContext.__init__(self, app, request, content_type)

        self.transport.type = 'twisted.web'