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.
2 parents 8be38f8 + 6aaa260 commit ea6fe99Copy full SHA for ea6fe99
polyfill/Fetch.js
@@ -40,7 +40,10 @@ class ReactNativeBlobUtilFetchPolyfill {
40
log.verbose('convert FormData to blob body');
41
promise = Blob.build(body).then((b) => {
42
blobCache = b;
43
- options.headers['Content-Type'] = 'multipart/form-data;boundary=' + b.multipartBoundary;
+
44
+ const contentType = 'multipart/form-data;boundary=' + b.multipartBoundary
45
+ options.headers['Content-Type'] = contentType;
46
+ options.headers['content-type'] = contentType;
47
return Promise.resolve(URIUtil.wrap(b._ref));
48
});
49
}
0 commit comments