We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58d2f1d commit 33660b6Copy full SHA for 33660b6
1 file changed
src/client.ts
@@ -742,7 +742,7 @@ export class Kernel {
742
// Preserve legacy string encoding behavior for now
743
headers.values.has('content-type')) ||
744
// `Blob` is superset of `File`
745
- body instanceof Blob ||
+ ((globalThis as any).Blob && body instanceof (globalThis as any).Blob) ||
746
// `FormData` -> `multipart/form-data`
747
body instanceof FormData ||
748
// `URLSearchParams` -> `application/x-www-form-urlencoded`
0 commit comments