]> Cypherpunks repositories - gostls13.git/commit
http: change most map[string][]string types to new Values type
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 8 Jun 2011 20:38:20 +0000 (13:38 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 8 Jun 2011 20:38:20 +0000 (13:38 -0700)
commit6a876283c8c5a832d49bcca7ea1f4b671aef2448
treee65e4e6a38ee7b272a6be6e8f7d644ebdf3df182
parent013cfea362fabbe52bb5aa873ec4ed0868d0fbe6
http: change most map[string][]string types to new Values type

This replaces most the map[string][]string usage with
a new Values type name, with the usual methods.

It also changes client.PostForm to take a Values, rather
than a map[string]string, closing a TODO in the code.

R=rsc
CC=golang-dev
https://golang.org/cl/4532123
misc/dashboard/builder/http.go
src/pkg/http/client.go
src/pkg/http/client_test.go
src/pkg/http/readrequest_test.go
src/pkg/http/request.go
src/pkg/http/url.go
src/pkg/http/url_test.go