atiaomar1978-hub opened a new pull request, #25073: URL: https://github.com/apache/camel/pull/25073
## Summary - Backport CAMEL-24234 fix from main to `camel-4.18.x`: avoid double gzip decompression when HttpClient 5.6+ auto-decompresses responses but leaves stale `Content-Encoding` headers. - `HttpProducer` now reads encoding from `entity.getContentEncoding()` and strips stale compression headers via `removeStaleCompressionHeaders()`. - Strengthen `HttpCompressionTest` with AssertJ assertions covering default auto-decompression, `?httpClient.contentCompressionEnabled=false`, and component-level `contentCompressionDisabled`. ## Test plan - [x] `mvn -pl components/camel-http -am -DskipTests install` - [x] `mvn -pl components/camel-http -Dtest=HttpCompressionTest test` (3 tests, all green) _AI-generated on behalf of atiaomar1978-hub_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
