6 references to GetHostLength
System.Net.Http (6)
System\Net\Http\Headers\GenericHeaderParser.cs (1)
136
int hostLength = HttpRuleParser.
GetHostLength
(value, startIndex, false);
System\Net\Http\Headers\HttpRequestHeaders.cs (1)
117
if ((value != null) && (HttpRuleParser.
GetHostLength
(value, 0, false) != value.Length))
System\Net\Http\Headers\ViaHeaderValue.cs (2)
160
int receivedByLength = HttpRuleParser.
GetHostLength
(input, current, true);
262
if (HttpRuleParser.
GetHostLength
(receivedBy, 0, true) != receivedBy.Length)
System\Net\Http\Headers\WarningHeaderValue.cs (2)
186
int agentLength = HttpRuleParser.
GetHostLength
(input, current, true);
297
if (HttpRuleParser.
GetHostLength
(agent, 0, true) != agent.Length)