From 95b6dd88fabe84f1d4956540964a109abc223e4e Mon Sep 17 00:00:00 2001 From: wenyekui Date: Fri, 1 Aug 2014 14:27:34 +0800 Subject: [PATCH] ignorecase --- server/client_http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/client_http.go b/server/client_http.go index f31c4df..2e36572 100644 --- a/server/client_http.go +++ b/server/client_http.go @@ -89,7 +89,7 @@ func (c *httpClient) makeRequest(app *App, r *http.Request, w http.ResponseWrite args[i] = []byte(arg) } - req.cmd = cmd + req.cmd = strings.ToLower(cmd) req.args = args req.remoteAddr = c.addr(r) req.resp = &httpWriter{contentType, cmd, w}