File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -121,8 +121,6 @@ export class Http {
121
121
types . isString ( options . content )
122
122
) {
123
123
javaOptions . content = new java . lang . String ( options . content ) ;
124
- } else if ( options . content instanceof FormData ) {
125
- javaOptions . content = new java . lang . String ( options . content . toString ( ) ) ;
126
124
} else if ( types . isObject ( options . content ) ) {
127
125
javaOptions . content = serialize ( options . content ) ;
128
126
}
Original file line number Diff line number Diff line change @@ -740,8 +740,7 @@ export class Http {
740
740
}
741
741
742
742
if (
743
- types . isString ( options . content ) ||
744
- options . content instanceof FormData
743
+ types . isString ( options . content )
745
744
) {
746
745
urlRequest . HTTPBody = NSString . stringWithString (
747
746
options . content . toString ( )
You can’t perform that action at this time.
0 commit comments