CB-11316 windows: Added content-type for files
- added Content-Type header for each file in the multipart upload
This closes #149
diff --git a/src/windows/FileTransferProxy.js b/src/windows/FileTransferProxy.js
index 56df315..5d1363f 100644
--- a/src/windows/FileTransferProxy.js
+++ b/src/windows/FileTransferProxy.js
@@ -367,6 +367,7 @@
// Adding file to upload to request payload
var fileToUploadPart = new Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart(fileKey, fileName);
+ fileToUploadPart.setHeader("Content-Type", mimeType);
fileToUploadPart.setFile(storageFile);
transferParts.push(fileToUploadPart);