v.22.10New Feature

Add support for lz4, bz2, and snappy in HTTP Accept-Encoding

Add support for methods lz4, bz2, snappy in HTTP's Accept-Encoding which is a non-standard extension to HTTP protocol. #42071 (Nikolay Degterinsky).
Added support for lz4, bz2, and snappy compression methods in the HTTP Accept-Encoding header, introducing a non-standard extension to the HTTP protocol in ClickHouse.

Why it matters

This feature enables clients to request response compression using lz4, bz2, or snappy via the HTTP Accept-Encoding header. It improves data transfer efficiency and reduces bandwidth usage when interacting with ClickHouse over HTTP.

How to use it

To use this feature, clients should include one of the supported compression methods — lz4, bz2, or snappy — in the Accept-Encoding header of their HTTP requests to the ClickHouse server. The server will respond with appropriately compressed data.