You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This example uses Node.js globals for Fetch API so I'm not importing any polyfills for neither Request nor FormData.
Expected Behavior
Calling request.formData() must return a Promise that resolves to a FormData instance containing the fields initially supplied to the Request constructor.
Logs & Screenshots
Environment
Node 18.8.0
Additional context
I've skimmed Undici's source and couldn't find this NotSupportedError instance. I suspect this was indeed unsupported in the past but has been implemented in the newer versions of Node? I'd like to know when this was added, if ever. Thanks.
The text was updated successfully, but these errors were encountered:
Bug Description
Getting the following error:
Reproducible By
This example uses Node.js globals for Fetch API so I'm not importing any polyfills for neither
Request
norFormData
.Expected Behavior
Calling
request.formData()
must return a Promise that resolves to aFormData
instance containing the fields initially supplied to theRequest
constructor.Logs & Screenshots
Environment
Additional context
I've skimmed Undici's source and couldn't find this
NotSupportedError
instance. I suspect this was indeed unsupported in the past but has been implemented in the newer versions of Node? I'd like to know when this was added, if ever. Thanks.The text was updated successfully, but these errors were encountered: