Use envvar instead of header sniffing.