code: func ValidCookieName(name []byte) bool {
  	for _, c := range name {
  		if !OctetTypes[c].IsToken() {
  			return false
  		}
  	}
  	return true
  }
docs: // ValidCookieName reports wheter given bytes is a valid RFC2616 "token" bytes.