def get_http_service_request_spec(client_factory, method, uri):
    http_service_request_spec = client_factory.create(
        'ns0:SessionManagerHttpServiceRequestSpec')
    http_service_request_spec.method = method
    http_service_request_spec.url = uri
    return http_service_request_spec
Build a HTTP service request spec.
dataset/ETHPy150Open openstack/oslo.vmware/oslo_vmware/vim_util.py/get_http_service_request_spec