Skip to content

Commit aaa4ee4

Browse files
SS-1252 Updated maxBodyLength in post method
1 parent e466766 commit aaa4ee4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/client.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ export default class Client {
3535
url: this.url(path),
3636
headers: this.defaultHeader,
3737
data: buildQueryString(params),
38+
maxContentLength: Infinity,
39+
maxBodyLength: Infinity,
3840
timeout: timeout * 1000,
3941
proxy: this.api.proxy,
4042
};

0 commit comments

Comments
 (0)