diff --git a/ipn/localapi/localapi.go b/ipn/localapi/localapi.go index 1535dc5e1..381b91684 100644 --- a/ipn/localapi/localapi.go +++ b/ipn/localapi/localapi.go @@ -627,6 +627,7 @@ func (h *Handler) serveFiles(w http.ResponseWriter, r *http.Request) { } defer rc.Close() w.Header().Set("Content-Length", fmt.Sprint(size)) + w.Header().Set("Content-Type", "application/octet-stream") io.Copy(w, rc) }