change 302 back to 307.

This commit is contained in:
Xiang Li 2013-07-06 10:21:39 -07:00
parent f878399992
commit 8244113a3e

View File

@ -191,7 +191,8 @@ func excute(c Command, w *http.ResponseWriter, req *http.Request) {
url := scheme + leaderClient() + path
debug("redirect to %s", url)
http.Redirect(*w, req, url, http.StatusFound)
http.Redirect(*w, req, url, http.StatusTemporaryRedirect)
return
}