v.21.6New Feature

Add HTTP Compression Support in http Dictionary Source

Add support for HTTP compression (determined by Content-Encoding HTTP header) in http dictionary source. This fixes #8912. #23946 (FArthur-cmd).
Added support for HTTP compression in http dictionary source by automatically handling the Content-Encoding HTTP header.

Why it matters

This feature resolves the issue where HTTP dictionary sources could not handle compressed responses, improving compatibility and efficiency by allowing ClickHouse to transparently decompress data received from HTTP sources.

How to use it

When configuring an http dictionary source, ensure that the server sends compressed responses with the Content-Encoding header set (e.g., gzip). ClickHouse will automatically detect and decompress the data without additional configuration.