Don't block the HTTP request while waiting on the installation

This commit is contained in:
Dane Everitt
2019-12-28 15:12:12 -08:00
parent 6ef2773c01
commit 5350a2d5a5
2 changed files with 35 additions and 32 deletions

View File

@@ -431,7 +431,7 @@ func (rt *Router) routeServerInstall(w http.ResponseWriter, r *http.Request, ps
return
}
w.WriteHeader(http.StatusNoContent)
w.WriteHeader(http.StatusAccepted)
}
func (rt *Router) routeServerUpdate(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {