diff --git a/src/meta-srv/src/service/admin/meta.rs b/src/meta-srv/src/service/admin/meta.rs index 905924b1c7b1..969eec807efa 100644 --- a/src/meta-srv/src/service/admin/meta.rs +++ b/src/meta-srv/src/service/admin/meta.rs @@ -155,10 +155,10 @@ impl HttpHandler for TableHandler { .await .context(TableMetadataManagerSnafu)? .into_iter() - .map(|(k, v)| (format!("{k}"), format!("{v:?}"))) .collect::>(); http::Response::builder() + .header("Content-Type", "application/json") .status(http::StatusCode::OK) // Safety: HashMap is definitely "serde-json"-able. .body(serde_json::to_string(&table_info_values).unwrap())