]> Cypherpunks repositories - gostls13.git/commit
net/http/httptest: mimic the normal HTTP server's ResponseWriter more closely
authorBrad Fitzpatrick <bradfitz@golang.org>
Sun, 7 Oct 2012 16:48:14 +0000 (09:48 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sun, 7 Oct 2012 16:48:14 +0000 (09:48 -0700)
commit13576e3b6587dcde0f5df3d04449ca16c88dcda2
treef6f9b96f7e8e9c88da84ecc6bf26d09d7c0d975e
parentd9953c9ddea6467f6cd3c59ccc34546cfc0f42c8
net/http/httptest: mimic the normal HTTP server's ResponseWriter more closely

Also adds tests, which didn't exist before.

Fixes #4188

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6613062
src/pkg/net/http/httptest/recorder.go
src/pkg/net/http/httptest/recorder_test.go [new file with mode: 0644]