Comments (5)
Would you see if you can reproduce this in pure Nitro (reproduction sandbox), and if so, raise there? π
Itβs likely an ofetch issue if so.
from nuxt.
Start a new pull request in StackBlitz Codeflow.
from nuxt.
Would you see if you can reproduce this in pure Nitro (reproduction sandbox), and if so, raise there? π
Itβs likely an ofetch issue if so.
I've been able to reproduce it with a simple express server + simple vue app (no Nuxt/Nitro needed).. so It may truly be an ofetch issue.
Should I report it directly to unjs/ofetch or do the same with Nitro instead of express and report it there..?
from nuxt.
No, it's even better if you can report directly to ofetch
β€οΈ
from nuxt.
I just realized what's going on here. $fetch
is transforming the headers object into a Headers class if there's a body and the method is other than GET; so if we modify the headers just as shown in the useFetch
documentation, when the request is retried and loops back to the onRequest
interceptor, these are being added as extra properties of the Headers object and ignored later
A proposed solution is to normalize the object before hitting the onRequest
(unjs/ofetch#392)
from nuxt.
Related Issues (20)
- Nuxt Build Error (RegExp.prototype.exec) HOT 3
- Netlify nitro deployment adds _redirects file with non-existing server functions directory HOT 2
- Final tasks before v4 release
- HMR doesn't work on pages that are added to .nuxtignore file HOT 6
- updating of experimental options HOT 3
- Option to install layer dependencies with --ignore-scripts HOT 2
- How can we integrate AMP ( Accelerated Mobile pages) In nuxt 3.8 ?
- How override plugins from Nuxt Layer in app? HOT 3
- Why can't the server run? "vue-router": "^4.3.2"οΌ"vue": "^3.4.26", HOT 2
- How to automatically reference enum types?Why can't implicit references be used? HOT 3
- Styles get added both inline and by reference and precede JS files HOT 2
- A page re-rendering and page deletion composable
- Infinite redirection when using qs after nuxt 3.11 HOT 3
- `Failed to execute 'insertBefore' on 'Node':` with useAsyncData and Pre-Rendering HOT 8
- Improve ignorePrefix JSDoc HOT 2
- No export named 'consola' after upgrading to `v3.11.2` HOT 3
- createError will be requested twice in the get request HOT 2
- Doesn't find indirect dependency of module when using pnpm
- `<ServerOnly>` component (to render markup only once) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuxt.