set http headers before sending post/put data