From: Brad Fitzpatrick Date: Thu, 9 Feb 2012 03:10:36 +0000 (+1100) Subject: net/http: remove an errant space X-Git-Tag: weekly.2012-02-14~194 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3484d5462d27660fb6e85f290e7dd24fcafa99b9;p=gostls13.git net/http: remove an errant space Made the godoc overview section oddly indented compared to the other code blocks. R=golang-dev, mikioh.mikioh, dsymonds, r CC=golang-dev https://golang.org/cl/5645060 --- diff --git a/src/pkg/net/http/doc.go b/src/pkg/net/http/doc.go index 8962ed31e6..652d729e08 100644 --- a/src/pkg/net/http/doc.go +++ b/src/pkg/net/http/doc.go @@ -12,7 +12,7 @@ Get, Head, Post, and PostForm make HTTP requests: resp, err := http.Post("http://example.com/upload", "image/jpeg", &buf) ... resp, err := http.PostForm("http://example.com/form", - url.Values{"key": {"Value"}, "id": {"123"}}) + url.Values{"key": {"Value"}, "id": {"123"}}) The client must close the response body when finished with it: