Added hasHeader to request