only set accept-encoding header if not already set