In XHR, after the request is completed, the requested URL can be obtained through xhr.responseURL

Similarly, in Fetch, the request URL can also be obtained in the fetch ("/app/get-user").then(response => response.url) response.url.

The above result is achieved through XHR and fetch requests from the browser. When xhook is introduced, responseUrl and xhr.responseURL are no longer effective.