adjusting header to corresponding one on server