pass the x-env header