Skip to content

Commit

Permalink
fix: Fixed the max body length limit in axios of sdk. (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
aprilyang authored Aug 5, 2022
1 parent 28e5f03 commit bf831cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ class Request {
const axiosConfig = isFunction(this.config.getAxiosConfig) ? this.config.getAxiosConfig(this.operation) : {};

return axios({
maxBodyLength: Infinity,
maxContentLength: Infinity,
...axiosConfig,
url: this.operation.uri,
method: this.operation.method,
Expand Down

0 comments on commit bf831cc

Please sign in to comment.