X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/053aa7d83c25443f4e2a5d773615ccab242d4464..bc14c62ad1528dbddc26781c5cea6a7968c93f2e:/lib/controller/router/response.go?ds=inline diff --git a/lib/controller/router/response.go b/lib/controller/router/response.go index 995fb01fff..aa3af1f64c 100644 --- a/lib/controller/router/response.go +++ b/lib/controller/router/response.go @@ -120,6 +120,7 @@ func (rtr *router) sendResponse(w http.ResponseWriter, resp interface{}, opts re tmp[k] = t.Format(rfc3339NanoFixed) } } + w.Header().Set("Content-Type", "application/json") json.NewEncoder(w).Encode(tmp) }