]> Cypherpunks repositories - gostls13.git/commit
http: let FileServer work when path doesn't begin with a slash
authorBrad Fitzpatrick <bradfitz@golang.org>
Mon, 18 Jul 2011 16:04:48 +0000 (09:04 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 18 Jul 2011 16:04:48 +0000 (09:04 -0700)
commit3745716bc3940f471137bf06fbe8c042257a43d3
tree107334d3624bc712f5b70f0e5ac8f83a4ea07506
parentcaa56474083c7be36c73ba8c7b9d8cc6fba90daf
http: let FileServer work when path doesn't begin with a slash

... as when it's over-stripped with StripPrefix.

R=golang-dev, andybalholm, rsc
CC=golang-dev
https://golang.org/cl/4759052
src/pkg/http/fs.go
src/pkg/http/fs_test.go