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
The comment above the network error also mentions that file fetching is left as an exercise for the reader. Is there a workaround for this, somehow?
I'm stumbling upon this through another library so I have no control over that fetch request. Can I "teach" Undici to fetch files? Can I override this behavior in any way, not being in charge of that request-issuing library? (it loads a WASM)
Can I "teach" Undici to fetch files? Can I override this behavior in any way, not being in charge of that request-issuing library?
We've decided in previous discussions not to support fetching file urls, it cannot be changed. Realistically, there isn't a good way for us to satisfy security requirements and user requirements.
This would solve...
The current error is cryptic, to say the least:
undici/lib/web/fetch/index.js
Line 945 in 68107da
The implementation should look like...
Additional context
There's an existing better error for an unsupported URL schemes, like
about
:undici/lib/web/fetch/index.js
Line 786 in 68107da
I'd still like to have it mention "fetch" at least somewhere so it's clear where the issue originates from.
The text was updated successfully, but these errors were encountered: