We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
stackblitz.com/edit/nuxt-starter-knny4w
$fetch.raw returns a response without headers. It should contain headers.
$fetch.raw
It's originally posted in #350 as a feature request but I think it is rather a bug so I am reposting it here with reproduction.
No response
The text was updated successfully, but these errors were encountered:
By the way, I have a question. Why ofetch has ofetch.native but $fetch in nuxt does not have $fetch.native?
ofetch
ofetch.native
$fetch
$fetch.native
Sorry, something went wrong.
https://developer.mozilla.org/en-US/docs/Web/API/Response/headers
https://developer.mozilla.org/en-US/docs/Web/API/Headers
You can use Array.from(response.headers.keys()) to get all the keys, and headers.get(key) to get the values.
Array.from(response.headers.keys())
headers.get(key)
No branches or pull requests
Environment
Reproduction
stackblitz.com/edit/nuxt-starter-knny4w
Describe the bug
$fetch.raw
returns a response without headers. It should contain headers.Additional context
It's originally posted in #350 as a feature request but I think it is rather a bug so I am reposting it here with reproduction.
Logs
No response
The text was updated successfully, but these errors were encountered: