]> Cypherpunks repositories - gostls13.git/commit
net/http: add If-None-Match and If-Range support to ServeContent
authorBrad Fitzpatrick <bradfitz@golang.org>
Mon, 10 Sep 2012 17:16:09 +0000 (10:16 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 10 Sep 2012 17:16:09 +0000 (10:16 -0700)
commita7743d7ad25a5a37699c1bc8378f8f2523956f72
treee4b58b7037ad2eb8eac0a61730165b103c5a621b
parent5d7ece6f4408736bdb9f9f2dfd7c145c21bea8d2
net/http: add If-None-Match and If-Range support to ServeContent

Also, clear Content-Type and Content-Length on Not Modified
responses before server.go strips them and spams the logs with
warnings.

R=rsc
CC=golang-dev
https://golang.org/cl/6503090
src/pkg/net/http/fs.go
src/pkg/net/http/fs_test.go