6 references to IsToken
System.Net.Http (6)
System\Net\Http\Headers\HeaderDescriptor.cs (1)
70
if (!HttpRuleParser.
IsToken
(headerName))
System\Net\Http\Headers\HeaderUtilities.cs (1)
147
if (!HttpRuleParser.
IsToken
(value))
System\Net\Http\Headers\KnownHeader.cs (2)
15
Debug.Assert(name[0] == ':' || HttpRuleParser.
IsToken
(name));
21
Debug.Assert(name[0] == ':' || HttpRuleParser.
IsToken
(name));
System\Net\Http\HttpMethod.cs (1)
32
if (!HttpRuleParser.
IsToken
(method))
System\Net\Http\HttpRuleParser.cs (1)
163
if ((allowToken &&
IsToken
(slice)) || IsValidHostName(slice))