Skip to content

Add HTTP response compression#59

Merged
dkropachev merged 1 commit into
mainfrom
issue-58-response-compression
Jun 27, 2026
Merged

Add HTTP response compression#59
dkropachev merged 1 commit into
mainfrom
issue-58-response-compression

Conversation

@dkropachev

Copy link
Copy Markdown
Collaborator

Summary

  • Adds opt-in HTTP response compression for gzip and deflate.
  • Exposes Go-aligned encoding constants and a JS config shape consistent with the rest of the client: responseCompression: true or { enabled: true, encodings: [...] }.
  • Sends Accept-Encoding after SigV4 signing and decodes compressed HTTP responses before AWS SDK deserialization.
  • Documents support and adds unit plus opt-in integration coverage.

Fixes #58.

Testing

  • npm run verify
  • npm run test:integration (default skipped mode: integration tests skipped unless INTEGRATION_TESTS is truthy)

Comment thread src/compression.ts Fixed
@dkropachev
dkropachev force-pushed the issue-58-response-compression branch from 7250409 to b8e26e6 Compare June 27, 2026 02:15
@dkropachev
dkropachev force-pushed the issue-58-response-compression branch from b8e26e6 to a262f4e Compare June 27, 2026 02:22
@dkropachev
dkropachev merged commit 16e7321 into main Jun 27, 2026
3 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.

Support for HTTP response compression

1 participant