def _tagging_from_headers(self, headers):
    tags = {}
    if headers.get('x-amz-tagging'):
        parsed_header = parse_qs(headers['x-amz-tagging'], keep_blank_values=True)
        for tag in parsed_header.items():
            tags[tag[0]] = tag[1][0]
    return tags
def _tagging_from_headers(self, headers):
    tags = {}
    if headers.get('x-amz-tagging'):
        parsed_header = parse_qs(headers['x-amz-tagging'], keep_blank_values=True)
        for tag in parsed_header.items():
            tags[tag[0]] = tag[1][0]
    return tags