def application(environ, start_response): result = RPC(environ).get_result() status, header, value = result.values() start_response(status, headers) return [value]