def parse_attributes(self, headers):
        attrs = {}
        try:
            header_attrs = headers["X-OCCI-Attribute"]
            for attr in _quoted_split(header_attrs):
                l = _split_unquote(attr)
                attrs[l[0].strip()] = l[1]
        except __HOLE__:
            pass
        return attrs
dataset/ETHPy150Open openstack/ooi/ooi/wsgi/parsers.py/TextParser.parse_attributes