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

Feat: Add compression strategy #5948

Merged
merged 1 commit into from
Oct 24, 2021
Merged

Feat: Add compression strategy #5948

merged 1 commit into from
Oct 24, 2021

Conversation

anesabml
Copy link
Contributor

What do these changes do?

Add compression strategy parameter to enable_compression method.

Are there changes in behavior for the user?

The added parameter allows users to have control over the compression.

Related issue number

#5909

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes
  • If you provide code modification, please add yourself to CONTRIBUTORS.txt
    • The format is <Name> <Surname>.
    • Please keep alphabetical order, the file is sorted by names.
  • Add a new news fragment into the CHANGES folder
    • name it <issue_id>.<type> for example (588.bugfix)
    • if you don't have an issue_id change it to the pr id after creating the pr
    • ensure type is one of the following:
      • .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.
    • Make sure to use full sentences with correct case and punctuation, for example: "Fix issue with non-ascii contents in doctest text files."

@psf-chronographer psf-chronographer bot added the bot:chronographer:provided There is a change note present in this PR label Aug 13, 2021
@codecov
Copy link

codecov bot commented Aug 13, 2021

Codecov Report

Merging #5948 (a9c9954) into master (37d72d1) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #5948   +/-   ##
=======================================
  Coverage   96.75%   96.75%           
=======================================
  Files          44       44           
  Lines        9852     9852           
  Branches     1591     1591           
=======================================
  Hits         9532     9532           
  Misses        182      182           
  Partials      138      138           
Flag Coverage Δ
unit 96.65% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
aiohttp/http_writer.py 99.12% <100.00%> (ø)
aiohttp/multipart.py 96.27% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 37d72d1...a9c9954. Read the comment docs.

@asvetlov
Copy link
Member

Thanks!

@asvetlov asvetlov merged commit bcb74cb into aio-libs:master Oct 24, 2021
@patchback
Copy link
Contributor

patchback bot commented Oct 24, 2021

Backport to 3.8: 💚 backport PR created

✅ Backport PR branch: patchback/backports/3.8/bcb74cb00e1ba454dbcf25b27833deff23c2cbd9/pr-5948

Backported as #6127

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Oct 24, 2021
Co-authored-by: Anes Abismail <anesabismail@gmail.com>
(cherry picked from commit bcb74cb)
asvetlov pushed a commit that referenced this pull request Oct 24, 2021
Co-authored-by: Anes Abismail <anesabismail@gmail.com>
(cherry picked from commit bcb74cb)

Co-authored-by: Anes Abismail <anes.abml@gmail.com>
@anesabml anesabml deleted the compression-strategy branch October 24, 2021 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot:chronographer:provided There is a change note present in this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants