From d7ff68bb8fd93dd561ca3ff38a9451f377366813 Mon Sep 17 00:00:00 2001 From: maxupeng Date: Fri, 7 Dec 2012 17:08:22 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=9B=9E=E6=BB=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 4.1.md | 1 - 1 file changed, 1 deletion(-) diff --git a/4.1.md b/4.1.md index f855e196..956de5ef 100644 --- a/4.1.md +++ b/4.1.md @@ -45,7 +45,6 @@ http包里面有一个很简单的方式就可以获取,我们在前面web的 } func login(w http.ResponseWriter, r *http.Request) { - r.ParseForm() fmt.Println("method:", r.Method) //获取请求的方法 if r.Method == "GET" { t, _ := template.ParseFiles("login.gtpl")