File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,8 @@ + (void)load
105105 @(STHTTPNetTaskPost): @" POST" ,
106106 @(STHTTPNetTaskPut): @" PUT" };
107107 STHTTPNetTaskContentTypeMap = @{ @(STHTTPNetTaskRequestJSON): @" application/json; charset=utf-8" ,
108- @(STHTTPNetTaskRequestKeyValueString): @" application/x-www-form-urlencoded" };
108+ @(STHTTPNetTaskRequestKeyValueString): @" application/x-www-form-urlencoded" ,
109+ @(STHTTPNetTaskRequestFormData): @" multipart/form-data" };
109110 STHTTPNetTaskFormDataBoundary = [NSString stringWithFormat: @" ST-Boundary-%@ " , [[NSUUID UUID ] UUIDString ]];
110111 STHTTPNetTaskToSessionTask = [[NSMapTable alloc ] initWithKeyOptions: NSPointerFunctionsWeakMemory valueOptions: NSPointerFunctionsWeakMemory capacity: 50 ];
111112}
You can’t perform that action at this time.
0 commit comments