Skip to content

fix: default auto decompressor on uncompressed or double compressed bodies#91

Merged
appleboy merged 3 commits into
gin-contrib:masterfrom
alexdyukov:fix-decompression
Jan 27, 2025
Merged

fix: default auto decompressor on uncompressed or double compressed bodies#91
appleboy merged 3 commits into
gin-contrib:masterfrom
alexdyukov:fix-decompression

Conversation

@alexdyukov

Copy link
Copy Markdown
Contributor

Fixes bug when DefaultDecompressHandler decompresses non compressed body

@codecov-commenter

codecov-commenter commented Jan 27, 2025

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 62.50000% with 12 lines in your changes missing coverage. Please review.

Project coverage is 72.58%. Comparing base (ef7d482) to head (7a1fca5).
Report is 47 commits behind head on master.

Files with missing lines Patch % Lines
options.go 62.50% 9 Missing and 3 partials ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

❗ There is a different number of reports uploaded between BASE (ef7d482) and HEAD (7a1fca5). Click for more details.

HEAD has 7 uploads less than BASE
Flag BASE (ef7d482) HEAD (7a1fca5)
ubuntu-latest 5 3
go-1.19 1 0
go-1.18 1 0
macos-latest 1 0
go- 1 0
go-1.20 1 0
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #91      +/-   ##
==========================================
- Coverage   81.35%   72.58%   -8.78%     
==========================================
  Files           3        3              
  Lines         118      186      +68     
==========================================
+ Hits           96      135      +39     
- Misses         19       44      +25     
- Partials        3        7       +4     
Flag Coverage Δ
go- ?
go-1.18 ?
go-1.19 ?
go-1.20 ?
go-1.21 72.58% <62.50%> (-8.78%) ⬇️
go-1.22 72.58% <62.50%> (-8.78%) ⬇️
go-1.23 72.58% <62.50%> (?)
macos-latest ?
ubuntu-latest 72.58% <62.50%> (-8.78%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants