HTTP Response Headers with multiple values does logical AND

HTTP Response Headers with multiple values does logical AND

Hi, I would like to get a notification if a website is served from CDN stale cache.

In order to do that, I need to make sure that the response header does not have:

cf-cache-status: STALE

Checking for multiple values in a header ("HIT" "MISS" "EXPIRED") does not work because it expects to get them all (logical AND).

I would need a logical OR there. Otherwise, a way to tell my monitor that the header should not contain "cf-cache-status: STALE".

Any idea?

Thanks,

Andres