We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c166ca8 commit 57f1adcCopy full SHA for 57f1adc
templates/base/http-clients/axios-http-client.ejs
@@ -127,7 +127,7 @@ export class HttpClient<SecurityDataType = unknown> {
127
...requestParams,
128
headers: {
129
...(requestParams.headers || {}),
130
- ...(type && type !== ContentType.FormData ? { "Content-Type": type } : {}),
+ ...(type ? { "Content-Type": type } : {}),
131
},
132
params: query,
133
responseType: responseFormat,
0 commit comments