Skip to content

fix: preserve headers from Request input - #91

Open
yusuke99 wants to merge 1 commit into
L-Blondy:masterfrom
yusuke99:fix/headers
Open

yusuke99 wants to merge 1 commit into
L-Blondy:masterfrom
yusuke99:fix/headers

Conversation

@yusuke99

@yusuke99 yusuke99 commented Sep 8, 2026 •

Copy link
Copy Markdown

Closes #90

Changes

Updated mergeHeaders function to include headers from the provided Request object.

Testing

Added test to verify that headers are preserved when sending a request by passing Request object.

Note

You can also test by linking the fixed package and running the reproduction code mentioned in issue.

Link the local package instead of from the registry 👇

package.json

"dependencies": {
  "up-fetch": "link:/path/to/up-fetch"
}

This branch has not been deployed

No deployments
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.

Headers are dropped when passing a Request as an input

1 participant