[ https://issues.apache.org/jira/browse/KUDU-3543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marton Greber resolved KUDU-3543. --------------------------------- Fix Version/s: 1.18.0 Resolution: Fixed > 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 > Priority: Major > Fix For: 1.18.0 > > 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)