Renamed function to configure http header vary