Skip to content

Comments

Content encoding gzip#129

Merged
gmpassos merged 4 commits intomasterfrom
content_encoding_gzip
Jun 18, 2025
Merged

Content encoding gzip#129
gmpassos merged 4 commits intomasterfrom
content_encoding_gzip

Conversation

@gmpassos
Copy link
Contributor

No description provided.

gmpassos added 3 commits June 16, 2025 05:14
- `APIServerConfig`, `APIServerWorker`, `APIServer`:
  - Add `maxPayloadLength` and `decompressPayload` options for request handling.

- `APIServer`:
  - `_loadPayloadBytes`:
    - Added support for compressed payload in gzip and deflate.
    - Added `_decodePayloadGzip` to handled GZip decompression and check the decompressed size in header before decompression.
@codecov
Copy link

codecov bot commented Jun 16, 2025

Codecov Report

Attention: Patch coverage is 79.41176% with 14 lines in your changes missing coverage. Please review.

Project coverage is 65.46%. Comparing base (72fab50) to head (5219569).
Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
lib/src/bones_api_server.dart 79.41% 14 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #129      +/-   ##
==========================================
+ Coverage   65.32%   65.46%   +0.13%     
==========================================
  Files          60       60              
  Lines       19977    20034      +57     
==========================================
+ Hits        13050    13115      +65     
+ Misses       6927     6919       -8     
Flag Coverage Δ
unittests 65.46% <79.41%> (+0.13%) ⬆️

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gmpassos gmpassos merged commit ac45403 into master Jun 18, 2025
5 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.

1 participant