浏览代码

Merge pull request #310 from juniorojha/master

Updated for iOS
Travis Nuttall 5 年前
父节点
当前提交
a2395c041f
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      ios/RNFetchBlobReqBuilder.m

+ 1
- 1
ios/RNFetchBlobReqBuilder.m 查看文件

@@ -69,7 +69,7 @@
69 69
                 [mheaders setValue:[NSString stringWithFormat:@"%lu",[postData length]] forKey:@"Content-Length"];
70 70
                 [mheaders setValue:@"100-continue" forKey:@"Expect"];
71 71
                 // appaned boundary to content-type
72
-                [mheaders setValue:[NSString stringWithFormat:@"multipart/form-data; charset=utf-8; boundary=%@", boundary] forKey:@"content-type"];
72
+                [mheaders setValue:[NSString stringWithFormat:@"multipart/form-data; boundary=%@", boundary] forKey:@"content-type"];
73 73
                 [request setHTTPMethod: method];
74 74
                 [request setAllHTTPHeaderFields:mheaders];
75 75
                 onComplete(request, [formData length]);