Skip to content

Fix stacked content encoding decoding#471

Merged
ryanfowler merged 1 commit intomainfrom
fix-stacked-contentencoding
Apr 16, 2026
Merged

Fix stacked content encoding decoding#471
ryanfowler merged 1 commit intomainfrom
fix-stacked-contentencoding

Conversation

@ryanfowler
Copy link
Copy Markdown
Owner

Summary

  • Parse all Content-Encoding header values, including comma-delimited stacks.
  • Decode supported stacked encodings in reverse order.
  • Leave unsupported encoding stacks untouched to avoid partial decoding.
  • Add tests for stacked, repeated-header, and unsupported encoding cases.

Testing

  • go test -v ./internal/client
  • go test -v ./integration -run 'TestMain/(gzip compression|zstd compression)'

@ryanfowler ryanfowler enabled auto-merge April 16, 2026 15:26
@ryanfowler ryanfowler merged commit 66bd385 into main Apr 16, 2026
10 checks passed
@ryanfowler ryanfowler deleted the fix-stacked-contentencoding branch April 16, 2026 15:27
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