Skip to content

fix(decoder): use identity encoding for range requests - #1265

Merged
0x676e67 merged 1 commit into
mainfrom
fix/range-accept-encoding-10-1
Aug 25, 2026
Merged

fix(decoder): use identity encoding for range requests#1265
0x676e67 merged 1 commit into
mainfrom
fix/range-accept-encoding-10-1

Conversation

@0x676e67

@0x676e67 0x676e67 commented Aug 24, 2026

Copy link
Copy Markdown
Owner

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The implementation, documentation, and focused tests consistently enforce identity encoding for range requests.

Pull request overview

Ensures byte-range requests use the identity representation while preserving automatic response decompression elsewhere.

Changes:

  • Overrides Accept-Encoding with identity for range requests.
  • Adds coverage for enabled, regular, and disabled decompression scenarios.
  • Updates public configuration documentation.
File summaries
File Description
src/client/layer/decoder.rs Implements range-aware encoding negotiation.
src/client.rs Documents range-request behavior.
tests/gzip.rs Tests encoding behavior across configurations.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@0x676e67
0x676e67 merged commit 9798781 into main Aug 25, 2026
23 checks passed
@0x676e67
0x676e67 deleted the fix/range-accept-encoding-10-1 branch August 25, 2026 17:18
@0x676e67 0x676e67 mentioned this pull request Aug 24, 2026
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.

2 participants