-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 strategy argument to StreamResponse.enable_compression() method
#6257
Conversation
strategy argument to StreamResponse.enable_compression() method
|
Oh, the deps are broken, that's unrelated. |
|
@shootkin your commits don't match your GitHub profile. You need to fix your local |
Co-authored-by: Sam Bull <aa6bs0@sambull.org>
Just changed email |
|
If you merge master now, then the checks will run properly. |
Sorry, merge which way? I cannot merge it to master because it is master |
aio-libs:master into your branch. |
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.
Add strategy argument to StreamResponse.enable_compression() method
…j() does not accept Optional[int]
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.
Please review
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6257 +/- ##
=======================================
Coverage 98.30% 98.30%
=======================================
Files 107 107
Lines 34427 34432 +5
Branches 4085 4085
=======================================
+ Hits 33844 33849 +5
Misses 411 411
Partials 172 172
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Backport to 3.11: 💔 cherry-picking failed — conflicts found❌ Failed to cleanly apply b8eca27 on top of patchback/backports/3.11/b8eca2754de8b30148c7bc2233f019d8045bce36/pr-6257 Backporting merged PR #6257 into master
🤖 @patchback |
What do these changes do?
This PR adds
strategyargument to StreamResponse.enable_compression() method.For example, tests show that download speed becomes 2x faster for
.pngimages when usingzlib.Z_RLEcompresson strategy, likeAre there changes in behavior for the user?
Related issue number
Checklist
CONTRIBUTORS.txtCHANGESfolder<issue_id>.<type>for example (588.bugfix)issue_idchange 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.