add headers indices to a post