Skip to content

Commit

Permalink
fix: default request body size to Infinity
Browse files Browse the repository at this point in the history
  • Loading branch information
Joy Chang authored and Joy Chang committed May 30, 2019
1 parent 827424a commit 6cea2b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/requestwrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export class RequestWrapper {
httpsAgent: new https.Agent({
rejectUnauthorized: axiosOptions.rejectUnauthorized
}),
maxContentLength: Infinity,
headers: {
post: {
'Content-Type':'application/json'
Expand Down

0 comments on commit 6cea2b9

Please sign in to comment.