From 8244113a3e6cfeacc40fd23880979e22068b7f00 Mon Sep 17 00:00:00 2001 From: Xiang Li Date: Sat, 6 Jul 2013 10:21:39 -0700 Subject: [PATCH] change 302 back to 307. --- handlers.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/handlers.go b/handlers.go index 0fb5fd159..cba909532 100644 --- a/handlers.go +++ b/handlers.go @@ -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 }