send headers only before sending requests