]> Cypherpunks repositories - gostls13.git/commit
net/http: avoid some allocations in DetectContentType
authorBrad Fitzpatrick <brad@danga.com>
Tue, 9 Dec 2014 00:45:19 +0000 (11:45 +1100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 9 Dec 2014 02:00:09 +0000 (02:00 +0000)
commite67a39ed08fbc64938043ff0406a31ea02c3d8a1
tree9ab16641137f45fe45a8274535e8f48d3412d8e2
parentc5de72b2135cd4ec59621fcfef9fa21111183f1f
net/http: avoid some allocations in DetectContentType

Change-Id: I64985f8de7ca09e63208e8c949a5d4f4fc09073f
Reviewed-on: https://go-review.googlesource.com/1230
Reviewed-by: David Symonds <dsymonds@golang.org>
src/net/http/sniff.go