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 23e36df commit 224c65fCopy full SHA for 224c65f
src/http.ts
@@ -87,7 +87,7 @@ export class Http {
87
if (data && method !== 'GET') {
88
if (data instanceof FormData) {
89
init.body = data;
90
- init.headers.set('Content-Type', 'multipart/form-data');
+ init.headers.delete('Content-Type');
91
} else {
92
init.body = JSON.stringify(data, null, 2);
93
}
0 commit comments