Skip to content

content_encoding: return 'identity' if none other exists#20805

Closed
bagder wants to merge 1 commit intomasterfrom
bagder/accept-encoding
Closed

content_encoding: return 'identity' if none other exists#20805
bagder wants to merge 1 commit intomasterfrom
bagder/accept-encoding

Conversation

@bagder
Copy link
Copy Markdown
Member

@bagder bagder commented Mar 3, 2026

This fixes a regression and accidental changed behavior shipped in 8.18.0 (via 6b9c75e).

When the setopt is set to "" and curl is built without support for a single compression algorithm, it used to use "identity" but recently did not.

Spotted by Codex Security

This fixes a regression and accidental changed behavior shipped in
8.18.0 (via 6b9c75e).

When the setopt is set to "" and curl is built without support for a
single compression algorithm, it used to use "identity" but recently did
not.

Spotted by Codex Security
@bagder bagder marked this pull request as ready for review March 3, 2026 22:09
@testclutch
Copy link
Copy Markdown

Analysis of PR #20805 at 1671213d:

Test ../../tests/http/test_07_upload.py::TestUpload::test_07_32_issue_10591[h3] failed, which has NOT been flaky recently, so there could be a real issue in this PR. Note that this test has failed in 2 different CI jobs (the link just goes to one of them).

Generated by Testclutch

@bagder bagder closed this in 27c3e08 Mar 6, 2026
@bagder bagder deleted the bagder/accept-encoding branch March 6, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants