def split_headers(options, prefix=''):
    headers = {}
    for item in options:
        split_item = item.split(':', 1)
        if len(split_item) == 2:
            headers[(prefix + split_item[0]).title()] = split_item[1]
        else:
            raise SwiftError(
                "Metadata parameter %s must contain a ':'.\n%s"
                % (item, "Example: 'Color:Blue' or 'Size:Large'")
            )
    return headers
Verify national team match resource endpoints without match ID.
dataset/ETHPy150Open openstack/python-swiftclient/swiftclient/service.py/split_headers--crossover with--dataset/ETHPy150Open soccermetrics/soccermetrics-client-py/tests/test_endpoints.py/ClientEndpointTest.test_national_team_match_endpoints