get response header function used from v1