Marton Greber created KUDU-3543:
-----------------------------------
Summary: Fix Content-Type headers
Key: KUDU-3543
URL: https://issues.apache.org/jira/browse/KUDU-3543
Project: Kudu
Issue Type: Bug
Reporter: Marton Greber
Assignee: Marton Greber
Attachments: ipki-ca-cert-der.png, metrics.png
The Content-Type headers are not correctly set in the webserver.
Some time ago only 'text/html' and 'text/plain' were implemented.
Then 'application/octet-stream' has been added. But this was not wired in.
Find attached screenshots for proof.
As a sidenote the metrics endpoint should have 'application/json' if we are
already touching this part of the codebase.
(This came up while working on the service discovery endpoint for Prometheus,
which would requre 'application/json' on that endpoint)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)