IBM / python-sdk-core

The python-sdk-core repository contains core functionality required by Python code generated by the IBM OpenAPI SDK Generator.
Apache License 2.0
20 stars 27 forks source link

feat: allow gzip compression on request bodies #81

Closed rmkeezer closed 4 years ago

rmkeezer commented 4 years ago

Allows gzip compression to be enabled for request bodies in the base service. This should be enabled by either the service or by an external config.

codecov[bot] commented 4 years ago

Codecov Report

Merging #81 into master will increase coverage by 0.19%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #81      +/-   ##
==========================================
+ Coverage   98.00%   98.19%   +0.19%     
==========================================
  Files          18       18              
  Lines         651      665      +14     
==========================================
+ Hits          638      653      +15     
+ Misses         13       12       -1     
Impacted Files Coverage Δ
ibm_cloud_sdk_core/base_service.py 95.12% <100.00%> (+1.12%) :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 27a6e7e...982b0b4. Read the comment docs.

rmkeezer commented 4 years ago

I added another test for reading the ENABLE_GZIP config and using non-json data

ibm-devx-automation commented 4 years ago

:tada: This PR is included in version 3.3.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: