refine request headers