set Vary header when using built-in header checking