]> Cypherpunks repositories - gostls13.git/commit
net/http: remove redundant strings.TrimPrefix
authorErik Aigner <aigner.erik@gmail.com>
Mon, 2 Feb 2015 07:52:41 +0000 (08:52 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 3 Feb 2015 09:58:37 +0000 (09:58 +0000)
commit77067c169737eee8af4320ae2278f36d50291b14
treec6547e01b8ba4f172e946c5e7ae35a19e73310e5
parentc8224ce9ff7c537195b40bf8b76531f68754cbc9
net/http: remove redundant strings.TrimPrefix

We already checked for the prefix with strings.HasPrefix

Change-Id: I33852fd19ffa92aa33b75b94b4bb505f4043a54a
Reviewed-on: https://go-review.googlesource.com/3691
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/request.go