Skip to content

[Bug] Unable to retrieve the requested URL in the response #171

Description

@condorheroblog

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

image

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

image


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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions