use setHeader instead of addHeader since we need to override if a prev value is present