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

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

Merged
merged 3 commits into from
Jan 27, 2025

Conversation

alexdyukov
Copy link
Contributor

Fixes bug when DefaultDecompressHandler decompresses non compressed body

@codecov-commenter
Copy link

codecov-commenter commented Jan 27, 2025

⚠️ 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.

@appleboy appleboy merged commit 438926d into gin-contrib:master Jan 27, 2025
6 of 7 checks passed
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