Release v1.7.0 (#3418)
This commit is contained in:
@@ -1601,9 +1601,9 @@ export class HttpClient<SecurityDataType = unknown> {
|
||||
input !== null && typeof input !== "string"
|
||||
? JSON.stringify(input)
|
||||
: input,
|
||||
[ContentType.FormData]: (input: FormData) =>
|
||||
(Array.from(input.keys()) || []).reduce((formData, key) => {
|
||||
const property = input.get(key);
|
||||
[ContentType.FormData]: (input: any) =>
|
||||
Object.keys(input || {}).reduce((formData, key) => {
|
||||
const property = input[key];
|
||||
formData.append(
|
||||
key,
|
||||
property instanceof Blob
|
||||
|
||||
Reference in New Issue
Block a user