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

Add independent maxBodyLength option #2781

Merged
merged 4 commits into from
Mar 6, 2020
Merged

Conversation

gualopezb
Copy link
Contributor

This PR is intended to solve the confusion described on #2696 by adding a separate option in the request config to forward the maxBodyLength to the follow-redirects library.

Copy link
Collaborator

@chinesedfan chinesedfan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By the way, dist files can be ignored. We will update them together before releasing.

README.md Outdated Show resolved Hide resolved
test/unit/adapters/http.js Outdated Show resolved Hide resolved
@gualopezb gualopezb force-pushed the master branch 2 times, most recently from a5c3f22 to 8d35515 Compare February 26, 2020 19:58
lib/adapters/http.js Outdated Show resolved Hide resolved
Copy link

@RubenVerborgh RubenVerborgh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK from the follow-redirects point of view.

@gualopezb
Copy link
Contributor Author

@chinesedfan I resolved the pending conflict on this PR. Feel free to merge it whenever you get a chance.

@chinesedfan chinesedfan changed the title Add independent option to set the maximum size of the request body Add independent maxBodyLength option Mar 6, 2020
@chinesedfan chinesedfan merged commit 6642ca9 into axios:master Mar 6, 2020
@axios axios locked and limited conversation to collaborators May 3, 2020
@jasonsaayman jasonsaayman added this to the v0.20.0 milestone May 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants