ignorecase

This commit is contained in:
wenyekui 2014-08-01 14:27:34 +08:00
parent b5e5b787d6
commit 95b6dd88fa
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ func (c *httpClient) makeRequest(app *App, r *http.Request, w http.ResponseWrite
args[i] = []byte(arg) args[i] = []byte(arg)
} }
req.cmd = cmd req.cmd = strings.ToLower(cmd)
req.args = args req.args = args
req.remoteAddr = c.addr(r) req.remoteAddr = c.addr(r)
req.resp = &httpWriter{contentType, cmd, w} req.resp = &httpWriter{contentType, cmd, w}