From ce382bbc47b40ebad0634f020390a5e55e998f47 Mon Sep 17 00:00:00 2001 From: sudocarlos <122110235+sudocarlos@users.noreply.github.com> Date: Fri, 9 May 2025 15:18:21 -0300 Subject: [PATCH] khatru/blossom: return content-type in handleUpload() --- khatru/blossom/handlers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/khatru/blossom/handlers.go b/khatru/blossom/handlers.go index cdfe937..8f3a32f 100644 --- a/khatru/blossom/handlers.go +++ b/khatru/blossom/handlers.go @@ -147,6 +147,7 @@ func (bs BlossomServer) handleUpload(w http.ResponseWriter, r *http.Request) { } // return response + w.Header().Set("Content-Type", "application/json") json.NewEncoder(w).Encode(bd) }