Skip to content

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

@condorheroblog

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.

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