Skip to content

Commit 24abf39

Browse files
authored
Updated for iOS
Not working in iPhone due to presence of charset utf-8
1 parent d8c79f6 commit 24abf39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RNFetchBlobReqBuilder.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ +(void) buildMultipartRequest:(NSDictionary *)options
6969
[mheaders setValue:[NSString stringWithFormat:@"%lu",[postData length]] forKey:@"Content-Length"];
7070
[mheaders setValue:@"100-continue" forKey:@"Expect"];
7171
// 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"];
7373
[request setHTTPMethod: method];
7474
[request setAllHTTPHeaderFields:mheaders];
7575
onComplete(request, [formData length]);

0 commit comments

Comments
 (0)