From: Pascal S. de Kloe Date: Mon, 20 Jun 2011 14:41:18 +0000 (-0700) Subject: mime: fix RFC references X-Git-Tag: weekly.2011-06-23~46 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=67ec47d1c04d57f582f51acb437d6aebb8de576d;p=gostls13.git mime: fix RFC references R=golang-dev, bradfitz CC=brad fitzpatrick @,;:\"/[]?=`, rune) != -1 } // IsTokenChar returns true if rune is in 'token' as defined by RFC -// 1531 and RFC 2045. +// 1521 and RFC 2045. func IsTokenChar(rune int) bool { // token := 1* diff --git a/src/pkg/mime/mediatype.go b/src/pkg/mime/mediatype.go index f28ff3e968..a270cb9370 100644 --- a/src/pkg/mime/mediatype.go +++ b/src/pkg/mime/mediatype.go @@ -31,7 +31,7 @@ func validMediaTypeOrDisposition(s string) bool { } // ParseMediaType parses a media type value and any optional -// parameters, per RFC 1531. Media types are the values in +// parameters, per RFC 1521. Media types are the values in // Content-Type and Content-Disposition headers (RFC 2183). On // success, ParseMediaType returns the media type converted to // lowercase and trimmed of white space and a non-nil params. On