Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forwarded fetch response is missing two properties to be an identical copy of original response #15

Open
esterlus opened this issue May 30, 2024 · 0 comments
Assignees

Comments

@esterlus
Copy link
Member

esterlus commented May 30, 2024

When doing a fetch request, the response object has a populated type and url property. Those are readonly.

When creating a response object manually via constructor there is no way to specify these properties and the created response shows:

type: 'default' and url: ""

In comparison to the original response: type: 'basic' and url: 'https://...'

Find out if there is any way to populate those properties to have a real duplicate response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants