We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe50b31 commit 5148d22Copy full SHA for 5148d22
1 file changed
src/client.ts
@@ -719,7 +719,7 @@ export class Grid {
719
// Preserve legacy string encoding behavior for now
720
headers.values.has('content-type')) ||
721
// `Blob` is superset of `File`
722
- body instanceof Blob ||
+ ((globalThis as any).Blob && body instanceof (globalThis as any).Blob) ||
723
// `FormData` -> `multipart/form-data`
724
body instanceof FormData ||
725
// `URLSearchParams` -> `application/x-www-form-urlencoded`
0 commit comments