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

Feature request: Return raw headers from fetch response #2695

Closed
davidhin opened this issue Oct 1, 2021 · 0 comments
Closed

Feature request: Return raw headers from fetch response #2695

davidhin opened this issue Oct 1, 2021 · 0 comments

Comments

@davidhin
Copy link

davidhin commented Oct 1, 2021

Is your feature request related to a problem? Please describe.
Currently, the response from fetch (tauri-apps/api/http) automatically parses the headers. There is a situation where the response has multiple "set-cookies" headers but fetch only returns the last one.

Describe the solution you'd like
Similar to node-fetch, allow access to the raw headers.

Describe alternatives you've considered
I've tried using other request libraries, but run into CORS issues.

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

No branches or pull requests

1 participant