def check_copy_from_header(req):
    return check_path_header(req, 'X-Copy-From', 2,
                             'X-Copy-From header must be of the form '
                             '<container name>/<object name>')
Return libvirt domain object for the provided node.
dataset/ETHPy150Open openstack/swift/swift/common/constraints.py/check_copy_from_header--crossover with--dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/libvirt_driver.py/LibvirtNodeDriver._get_domain_for_node