def _update_response_headers(self, request, response, headers):
        """
        Combine all headers that were set by the different content types
        We are interested in Cache-Control, Last-Modified, Expires
        """

        # Ideally, for the Cache-Control header, we'd want to do some
        # intelligent combining, but that's hard. Let's just collect and unique
        # them and let the client worry about that.
        cc_headers = {"must-revalidate"}
        for x in (cc.split(",") for cc in headers.get("Cache-Control", ())):
            cc_headers |= {s.strip() for s in x}

        if len(cc_headers):
            response["Cache-Control"] = ", ".join(cc_headers)
        else:  # Default value
            response["Cache-Control"] = "no-cache, must-revalidate"

        # Check all Last-Modified headers, choose the latest one
        lm_list = [parsedate(x) for x in headers.get("Last-Modified", ())]
        if len(lm_list) > 0:
            response["Last-Modified"] = http_date(mktime(max(lm_list)))

        # Check all Expires headers, choose the earliest one
        lm_list = [parsedate(x) for x in headers.get("Expires", ())]
        if len(lm_list) > 0:
            response["Expires"] = http_date(mktime(min(lm_list)))

        # Add all cookies
        cookies = headers.get("X-Feincms-Cookie", None)
        if cookies:
            for kookie, val in cookies.items():
                response.set_cookie(
                    kookie,
                    value=val.value,
                    max_age=val["max-age"],
                    expires=val["expires"],
                    path=val["path"],
                    domain=val["domain"],
                    secure=val["secure"],
                    httponly=val["httponly"],
                    samesite=val["samesite"],
                )

        Combine all headers that were set by the different content types
        We are interested in Cache-Control, Last-Modified, Expires
        
feincms/content/application/models.py