]> Cypherpunks repositories - gostls13.git/commit
http: sniffing algorithm.
authorDavid Symonds <dsymonds@golang.org>
Wed, 20 Jul 2011 22:38:35 +0000 (08:38 +1000)
committerDavid Symonds <dsymonds@golang.org>
Wed, 20 Jul 2011 22:38:35 +0000 (08:38 +1000)
commit78c89d21bcb33b71d716165a9204c397cf1eaf63
tree313757361979b1ed90c533507ee4dda0fcc60420
parent7911965fe922a4412aa5e56eb32a2a15c67e67b1
http: sniffing algorithm.

This follows draft-ietf-websec-mime-sniff-03 in its intent,
though not its algorithmic specification.

R=rsc
CC=golang-dev
https://golang.org/cl/4746042
src/pkg/http/server.go
src/pkg/http/sniff.go
src/pkg/http/sniff_test.go [new file with mode: 0644]