aioelasticsearch icon indicating copy to clipboard operation
aioelasticsearch copied to clipboard

Request body compression support

Open Purusah opened this issue 6 years ago • 2 comments

What do these changes do?

Allow to compress ES requests with gzip

Are there changes in behavior for the user?

Optional parameter http_compress for connection class

Related issue number

Issue 72

Checklist

  • [ ] I think the code is well written
  • [x] 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> (e.g. 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.

Purusah avatar Apr 20 '19 12:04 Purusah

Codecov Report

Merging #160 into master will increase coverage by <.01%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #160      +/-   ##
==========================================
+ Coverage   98.37%   98.37%   +<.01%     
==========================================
  Files           6        6              
  Lines         430      431       +1     
  Branches       76       76              
==========================================
+ Hits          423      424       +1     
  Misses          4        4              
  Partials        3        3
Impacted Files Coverage Δ
aioelasticsearch/connection.py 100% <100%> (ø) :arrow_up:

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 aefda4f...d79b8c9. Read the comment docs.

codecov[bot] avatar Apr 20 '19 15:04 codecov[bot]

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Purusah seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Nov 16 '20 10:11 CLAassistant