diff --git a/android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java b/android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java index 34dc2887c..8d010f529 100644 --- a/android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java +++ b/android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java @@ -238,7 +238,8 @@ else if (value.equalsIgnoreCase("utf8")) requestType = RequestType.Form; } else if(cType.isEmpty()) { - builder.header("Content-Type", "application/octet-stream"); + if(!cType.equalsIgnoreCase("")) + builder.header("Content-Type", "application/octet-stream"); requestType = RequestType.SingleFile; } if(rawRequestBody != null) {