def METHOD_NAME(self) -> dict[str, str]:
    """Get cached simple headers.
    Returns:
        A dictionary of headers to set on the response object.
    """
    METHOD_NAME = {}
    if self.is_allow_all_origins:
        METHOD_NAME["Access-Control-Allow-Origin"] = "*"
    if self.allow_credentials:
        METHOD_NAME["Access-Control-Allow-Credentials"] = "true"
    if self.expose_headers:
        METHOD_NAME["Access-Control-Expose-Headers"] = ", ".join(sorted(set(self.expose_headers)))
    return METHOD_NAME