You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Marton Greber (Jira)" <ji...@apache.org> on 2024/01/08 10:53:00 UTC
[jira] [Created] (KUDU-3543) Fix Content-Type headers
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)