Skip to content

Support gzip-compressed gRPC response messages#613

Merged
ryanfowler merged 1 commit into
mainfrom
add-grpc-gzip-decompression
May 27, 2026
Merged

Support gzip-compressed gRPC response messages#613
ryanfowler merged 1 commit into
mainfrom
add-grpc-gzip-decompression

Conversation

@ryanfowler
Copy link
Copy Markdown
Owner

Summary

  • Added gRPC message encoding handling that reads grpc-encoding, decompresses gzip-framed messages before protobuf decoding, and reports unsupported encodings by name
  • Advertises grpc-accept-encoding: gzip for gRPC calls and reflection so servers can safely return compressed messages
  • Updated streaming, schema-aware, and reflection response paths to decode compressed frames consistently
  • Documented the behavior and added integration coverage for gzip responses, unsupported encodings, and the new request header

Testing

  • cargo fmt
  • cargo clippy --locked --all-targets --all-features -- -D warnings
  • cargo test --all-features
  • cargo test --all-features --test integration -- --test-threads=1

@ryanfowler ryanfowler enabled auto-merge May 27, 2026 01:34
@ryanfowler ryanfowler merged commit 7bf9163 into main May 27, 2026
4 checks passed
@ryanfowler ryanfowler deleted the add-grpc-gzip-decompression branch May 27, 2026 01:38
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