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 @@ exec(win, fail, 'FileTransfer', 'upload', // 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);