get response header function used from v2