add missing mime-type header for graph handler
This commit is contained in:
@@ -126,6 +126,7 @@ func (h *graphHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||||||
mimeType = "application/octet-stream"
|
mimeType = "application/octet-stream"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
w.Header().Add("content-type", mimeType)
|
||||||
w.Write(output)
|
w.Write(output)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user