示例#1
0
文件: wsgi.py 项目: isbaran/rpclib
    def __init__(self, app, req_env, content_type):
        self.http_req_env = req_env
        self.http_resp_headers = {
            'Content-Type': content_type,
            'Content-Length': '0',
        }
        self.wsdl_error = None

        MethodContext.__init__(self, app)
示例#2
0
 def __init__(self, app):
     MethodContext.__init__(self, app)
     self.transport.type = 'zmq'
示例#3
0
    def __init__(self, app, req_env, content_type):
        self.http_req_env = req_env
        self.http_resp_headers = {"Content-Type": content_type, "Content-Length": "0"}
        self.wsdl_error = None

        MethodContext.__init__(self, app)
示例#4
0
文件: zeromq.py 项目: rch/rpclib
 def __init__(self, app):
     MethodContext.__init__(self, app)
     self.transport.type = 'zmq'