Skip to content

Commit 0d9d331

Browse files
committed
fix(ios): multipart fix
1 parent 22605de commit 0d9d331

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/https.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export function request(opts: Https.HttpsRequestOptions): Promise<Https.HttpsRes
184184
} else if (opts.method === "HEAD") {
185185
manager.HEADParametersHeadersSuccessFailure(opts.url, dict, headers, success, failure);
186186
}
187-
if (type === "application/json") {
187+
if (type === "multipart/form-data") {
188188
switch(opts.method) {
189189
case 'POST' :
190190
manager.POSTParametersConstructingBodyWithBlockSuccessFailure(opts.url, null,(formData)=>{

0 commit comments

Comments
 (0)