]> Cypherpunks repositories - gostls13.git/commit
httptest: default the Recorder status code to 200 on a Write
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 15 Mar 2011 17:13:25 +0000 (10:13 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 15 Mar 2011 17:13:25 +0000 (10:13 -0700)
commitf192891786893c9352e15698159b3929057cdb7e
tree1a4db016ac81f72c0f5b24b558cd2891f2c6d54d
parent5245b27ed8e8e172f627e247415cbf9c758813ae
httptest: default the Recorder status code to 200 on a Write

This matches the real ResponseWriter behavior.

R=rsc
CC=golang-dev
https://golang.org/cl/4291048
src/pkg/http/httptest/recorder.go