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

fetch should handle Request object usage #91

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from

Conversation

sangchatb
Copy link

The Fetch API allows a Request object as the first parameter. Currently, it makes the request when the Request object is used, but the headers are lost. This change populates an existing 'request' variable and tests to ensure the headers are not lost.

@morsdyce
Copy link
Collaborator

Thanks! This looks great!
I'll check this out soon and if everything works out I'll merge.

@github-actions github-actions bot force-pushed the gh-pages branch 2 times, most recently from 0d383e5 to b68decc Compare August 19, 2022 14:11
@github-actions github-actions bot force-pushed the gh-pages branch 2 times, most recently from 6047ce7 to 07a4ac7 Compare August 28, 2023 02:42
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

Successfully merging this pull request may close these issues.

2 participants