v.22.5Improvement

Added content_type support in HTTP handler configuration

Added support for specifying content_type in predefined and static HTTP handler config. #34916 (Roman Nikonov).
Added support for specifying content_type in predefined and static HTTP handler configuration.

Why it matters

This feature allows users to explicitly set the HTTP Content-Type header for predefined and static HTTP handlers in ClickHouse, improving control over HTTP responses and enabling better integration with clients that rely on content-type information.

How to use it

Users can specify the content_type parameter within the configuration of predefined or static HTTP handlers to define the desired Content-Type header for their HTTP responses.