Skip to content

Commit 6cea2b9

Browse files
Joy ChangJoy Chang
authored andcommitted
fix: default request body size to Infinity
1 parent 827424a commit 6cea2b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/requestwrapper.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export class RequestWrapper {
4444
httpsAgent: new https.Agent({
4545
rejectUnauthorized: axiosOptions.rejectUnauthorized
4646
}),
47+
maxContentLength: Infinity,
4748
headers: {
4849
post: {
4950
'Content-Type':'application/json'

0 commit comments

Comments
 (0)