def get_headers(name, content_type):
    headers = {"Content-Type": content_type}
    # gzip the file if its of the right content type
    if CUMULUS.get("GZIP_CONTENT_TYPES", []) in content_type:
        headers["Content-Encoding"] = "gzip"
    if CUMULUS["HEADERS"]:
        for pattern, pattern_headers in HEADER_PATTERNS:
            if pattern.match(name):
                headers.update(pattern_headers.copy())
    return headers
dataset/ETHPy150Open django-cumulus/django-cumulus/cumulus/storage.py/get_headers/swapped operands of `in`