How to set Content-Type: text/html; charset=utf-8 Header only for text/html

I’ve set up the following but it doesn’t work, does anyone know what to do?

any(http.request.headers[“content-type”][*] == “text/html”)

Set Static
Header name: Content-Type
value: text/html; charset=UTT text/html; charset=UTF-8