-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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 an argument to override request body size #6340
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, @anesabml please make sure to oversee the backporting.
Backport to 3.8: 💔 cherry-picking failed — conflicts found❌ Failed to cleanly apply f6334e2 on top of patchback/backports/3.8/f6334e2b4881b9870edcaaa20e9282c4e9dc70f1/pr-6340 Backporting merged PR #6340 into master
🤖 @patchback |
Backport to 3.9: 💔 cherry-picking failed — conflicts found❌ Failed to cleanly apply f6334e2 on top of patchback/backports/3.9/f6334e2b4881b9870edcaaa20e9282c4e9dc70f1/pr-6340 Backporting merged PR #6340 into master
🤖 @patchback |
…body size (#6340) (#6344) * Add an argument to override request body size (#6340) (cherry picked from commit f6334e2) Co-authored-by: Andrew Svetlov <[email protected]> Co-authored-by: Sviatoslav Sydorenko <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
What do these changes do?
A new argument
client_max_size
was added toBaseRequest.clone
method to allow overriding the request body size.Are there changes in behavior for the user?
The new argument adds the ability to customize the request body size for each request.
Related issue number
Resolves #5704
Checklist
CONTRIBUTORS.txt
CHANGES
folder<issue_id>.<type>
for example (588.bugfix)issue_id
change it to the pr id after creating the pr.feature
: Signifying a new feature..bugfix
: Signifying a bug fix..doc
: Signifying a documentation improvement..removal
: Signifying a deprecation or removal of public API..misc
: A ticket has been closed, but it is not of interest to users.