add missing mime-type header for graph handler

This commit is contained in:
Steffen Vogel 2021-07-18 23:56:13 +02:00
parent 0789b4f9fa
commit ba5bf140a2

View File

@ -126,6 +126,7 @@ func (h *graphHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
mimeType = "application/octet-stream"
}
w.Header().Add("content-type", mimeType)
w.Write(output)
}