]> Cypherpunks repositories - gostls13.git/commit
net/http: don't send an automatic Content-Length on a 304 Not Modified
authorBrad Fitzpatrick <bradfitz@golang.org>
Fri, 16 Aug 2013 00:40:05 +0000 (17:40 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 16 Aug 2013 00:40:05 +0000 (17:40 -0700)
commit67a69bce6b0492359f9279b035076fbab12945e0
tree52862015daf4c2fc82d7add36f7698f18257abb8
parent9c248e3406a1b27f2a8458704a873369fb2b842c
net/http: don't send an automatic Content-Length on a 304 Not Modified

Also start of some test helper unification, long overdue.
I refrained from cleaning up the rest in this CL.

Fixes #6157

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/13030043
src/pkg/net/http/serve_test.go
src/pkg/net/http/server.go