commit | 5e8b9c614bed42da8cc2c16b705e491dcab693fc | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@golang.org> | Thu Jun 09 18:10:21 2011 -0700 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Thu Jun 09 18:10:21 2011 -0700 |
tree | 654f157c917760aad0daab56533a9b0eca6e4a2d | |
parent | aac6afbb11d7845ecd431f296d4cbe625a0001da [diff] |
http: fix regression permitting io.Copy on HEAD response With the ReadFrom change in the sendfile CL, it became possible to illegally send a response to a HEAD request if you did it via io.Copy. Fixes #1939 R=rsc CC=golang-dev https://golang.org/cl/4584049