Describe the feature
The functions fetch() and serverFetch() that nitro provides are missing generic(s) to set Response. Personally I would like to see the same DX as ofetch provides, comparison:
Also I realized that Nitro's fetch doesnt throw an error like ofetch does when the resposne status is not 200.
Additional information
Possibly, shouldnt Nitro provide a patched ofetch with everything starting with / being an internal server fetch?
Describe the feature
The functions
fetch()andserverFetch()that nitro provides are missing generic(s) to set Response. Personally I would like to see the same DX as ofetch provides, comparison:Also I realized that Nitro's
fetchdoesnt throw an error likeofetchdoes when the resposne status is not 200.Additional information
Possibly, shouldnt Nitro provide a patched
ofetchwith everything starting with/being an internal server fetch?