cmgdragon
cmgdragon
> Would you see if you can reproduce this in pure Nitro ([reproduction sandbox](https://stackblitz.com/github/unjs/nitro/tree/main/examples/hello-world)), and if so, raise [there](https://github.com/unjs/nitro/issues/new/choose)? 🙏 > > It’s likely an ofetch issue if so. I've...
I just realized what's going on here. `$fetch` [is transforming the headers object](https://github.com/unjs/ofetch/blob/main/src/fetch.ts#L129) into a [Headers](https://developer.mozilla.org/en-US/docs/Web/API/Headers/Headers) class if there's a body and the method is other than GET; so if...
Heads up! @manniL , I just realized, the current approach will only work either using the Headers constructor or setting the properties in lowercase. If we set a header in...
> Does it work if you rename to `*.ts` rather than `*.js`? okay, that did the trick. I just had to switch the extension to `.ts`. I didn't even think...