From: Rob Pike Date: Wed, 18 Feb 2009 03:59:23 +0000 (-0800) Subject: drop trailing slashes - missed comment from last review X-Git-Tag: weekly.2009-11-06~2156 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6950491b4f0475f488a3a47b8d7771131cd2e8e7;p=gostls13.git drop trailing slashes - missed comment from last review TBR=rsc OCL=25135 CL=25135 --- diff --git a/src/lib/http/triv.go b/src/lib/http/triv.go index 666f2b204a..ea17d15ba2 100644 --- a/src/lib/http/triv.go +++ b/src/lib/http/triv.go @@ -87,8 +87,8 @@ func main() { flag.Parse(); http.Handle("/counter", new(Counter)); http.Handle("/go/", http.HandlerFunc(FileServer)); - http.Handle("/flags/", http.HandlerFunc(FlagServer)); - http.Handle("/args/", http.HandlerFunc(ArgServer)); + http.Handle("/flags", http.HandlerFunc(FlagServer)); + http.Handle("/args", http.HandlerFunc(ArgServer)); http.Handle("/go/hello", http.HandlerFunc(HelloServer)); http.Handle("/chan", ChanCreate()); err := http.ListenAndServe(":12345", nil);