This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new fe61ac2deac7 chore: sync camel-4x-upgrade-guide-4_18.adoc with
camel-4.18.x branch (#25075)
fe61ac2deac7 is described below
commit fe61ac2deac79919d516db9b7e850aed42906fda
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Jul 24 08:30:09 2026 +0200
chore: sync camel-4x-upgrade-guide-4_18.adoc with camel-4.18.x branch
(#25075)
Sync the camel-http gzip double-decompression entry (CAMEL-24234) from
the camel-4.18.x backport to the main branch upgrade guide.
Signed-off-by: Claus Ibsen <[email protected]>
Co-authored-by: Claude Opus 4.6 <[email protected]>
---
.../modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git
a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc
b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc
index e36e04c77e25..57772d7be1fa 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc
@@ -40,6 +40,15 @@ The new behavior activates automatically when all of the
following are true:
No configuration changes are required. The existing `maxAutoLockRenewDuration`
option controls how long
Camel will continue renewing a message's lock.
+=== camel-http - gzip double decompression with HttpClient 5.6+
+
+When using HttpClient 5.6+ (including transitively via a Spring Boot BOM on
Camel 4.18.x), HttpClient
+auto-decompresses gzip response bodies but may leave stale `Content-Encoding`,
`Content-Length`, and
+`Content-MD5` headers. Camel now reads content encoding from
`entity.getContentEncoding()` instead of
+the response header and strips stale compression headers after the HTTP call.
This prevents a second
+decompression attempt that could fail with `ZipException: Not in GZIP format`
against gzip-compressing
+servers with default settings.
+
=== camel-mail - MimeMultipartDataFormat inbound header filtering
When unmarshalling a MIME message with `headersInline=true`, the
`mime-multipart` data format now applies a