Make sure headers are only set with defaults if they aren't passed as
parameter.