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)
def __init__(self, app): MethodContext.__init__(self, app) self.transport.type = 'zmq'
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)