Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending Video through axios - maxBodyLength #1

Open
schneider-technology opened this issue Apr 12, 2023 · 0 comments
Open

Sending Video through axios - maxBodyLength #1

schneider-technology opened this issue Apr 12, 2023 · 0 comments

Comments

@schneider-technology
Copy link

Hi, first of all thanks for providing this! Finally a reporter which covers everything :)

I have a small issue though, i have to manually set the maxBodyLength manually in @reportportal/client-javascript/lib/rest.js:

options.maxBodyLength = Infinity;
options.maxContentLength = Infinity;

If I don't, no video is getting attached and I get the following error (console.log):

Error: Request body larger than maxBodyLength limit

Which is strange, axios default should be -1 = no limit.

If i console.log the maxBodyLength without setting it, i get the following:
maxBodyLength: undefined

So there should be no issue, any idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant