passed in header options have precedence