1
0
mirror of https://github.com/golang/go synced 2024-11-19 14:54:43 -07:00

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
This commit is contained in:
Brad Fitzpatrick 2012-02-09 14:10:36 +11:00
parent e7bd71c83a
commit 3484d5462d

View File

@ -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: