13 references to HttpUtilities
Microsoft.AspNetCore.Server.Kestrel.Core (13)
BadHttpRequestException.cs (1)
27AllowedHeader = HttpUtilities.MethodToString(requiredMethod.Value);
Internal\Http\Http1Connection.cs (2)
607else if (!HttpUtilities.IsHostHeaderValid(hostText)) 649if (!HttpUtilities.IsHostHeaderValid(hostText))
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
43_methodText = HttpUtilities.MethodToString(Method) ?? string.Empty;
Internal\Http2\Http2Connection.cs (1)
590httpVersion = HttpUtilities.GetKnownVersion(requestLine.Slice(requestLine.Length - 9, 8));
Internal\Http2\Http2Stream.cs (2)
340Method = HttpUtilities.GetKnownMethod(_methodText); 389if (host.Count > 1 || !HttpUtilities.IsHostHeaderValid(hostText))
Internal\Http3\Http3Stream.cs (2)
1062Method = HttpUtilities.GetKnownMethod(_methodText); 1111if (host.Count > 1 || !HttpUtilities.IsHostHeaderValid(hostText))
Internal\Infrastructure\KestrelTrace.BadRequests.cs (2)
35BadRequestsLog.PossibleInvalidHttpVersionDetected(_badRequestsLogger, connectionId, HttpUtilities.VersionToString(expectedHttpVersion), HttpUtilities.VersionToString(detectedHttpVersion));
Middleware\HttpConnectionMiddleware.cs (1)
34var altSvcHeader = _addAltSvcHeader && localEndPoint != null ? HttpUtilities.GetEndpointAltSvc(localEndPoint, protocols) : null;
Middleware\HttpMultiplexedConnectionMiddleware.cs (1)
31var altSvcHeader = _addAltSvcHeader && localEndPoint != null ? HttpUtilities.GetEndpointAltSvc(localEndPoint, _protocols) : null;