move request header accessing into request