]> Cypherpunks repositories - gostls13.git/commit
http: add PostForm function to post url-encoded key/value data.
authorAndrew Gerrand <adg@golang.org>
Thu, 2 Sep 2010 00:01:34 +0000 (10:01 +1000)
committerAndrew Gerrand <adg@golang.org>
Thu, 2 Sep 2010 00:01:34 +0000 (10:01 +1000)
commit2fe0f8da52d01bb2bf705a7b0f4fec933b65c6ea
tree5615863d1e91c4de35ab82d5d5cb96070fd6dfaa
parentf8a67d79d19776efd43dc36d597bb3cbfdb779f3
http: add PostForm function to post url-encoded key/value data.

This is a common task, so it makes sense to have a helper to do it.

(App Engine doesn't like "Transfer-Encoding: chunked" for POST
bodies, which is the default for regular Post.)

R=rsc
CC=golang-dev
https://golang.org/cl/2113041
src/pkg/http/client.go