]> Cypherpunks repositories - gostls13.git/commitdiff
http: update mime sniffing doc reference.
authorDavid Symonds <dsymonds@golang.org>
Thu, 3 Nov 2011 03:34:35 +0000 (14:34 +1100)
committerDavid Symonds <dsymonds@golang.org>
Thu, 3 Nov 2011 03:34:35 +0000 (14:34 +1100)
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5303095

src/pkg/http/sniff.go

index d6086875073578be2cae51ae7e9923f3d02cafa3..690b1ac9fb805079a6543bee24fed7306090123f 100644 (file)
@@ -11,7 +11,7 @@ import (
 
 // Content-type sniffing algorithm.
 // References in this file refer to this draft specification:
-//   http://tools.ietf.org/html/draft-ietf-websec-mime-sniff-03
+//   http://mimesniff.spec.whatwg.org/
 
 // The algorithm prefers to use sniffLen bytes to make its decision.
 const sniffLen = 512