Set the history url for each response