v.24.6New Feature

Add http_response_headers configuration for custom HTTP handlers

Add http_response_headers configuration to support custom response headers in custom HTTP handlers. #63562 (Grigorii).
Added the http_response_headers configuration option to allow users to specify custom HTTP response headers in custom HTTP handlers.

Why it matters

This feature enables users to customize the HTTP response headers returned by custom HTTP handlers, providing greater control over HTTP responses and improving integration with clients or proxies that require specific headers.

How to use it

Users can define the http_response_headers configuration in the ClickHouse server settings for their custom HTTP handlers by specifying the desired headers and their values. This allows the server to include those headers in the HTTP responses sent to clients.