unjs / unenv

🕊️ Convert javaScript code to be runtime agnostic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

inconsistent body behaviour

danielroe opened this issue · comments

Use case: within an h3 handler, req.body holds the body on SSR local calls, but useBody (or equivalent) has to be used for full client calls from app. Ideally the same behaviour would be exposed (e.g. node events mocked on the req object)

nuxt/nuxt#11975 - with more context

Please track it via #8

Oops - not sure how I missed that.