added header parsing to request