We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a97c8f4 commit 722c4dcCopy full SHA for 722c4dc
src/net/http/http.go
@@ -119,10 +119,6 @@ func removeEmptyPort(host string) string {
119
return host
120
}
121
122
-func isNotToken(r rune) bool {
123
- return !httpguts.IsTokenRune(r)
124
-}
125
-
126
// isToken reports whether v is a valid token (https://www.rfc-editor.org/rfc/rfc2616#section-2.2).
127
func isToken(v string) bool {
128
// For historical reasons, this function is called ValidHeaderFieldName (see issue #67031).
0 commit comments