16 references to HttpParsingData
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (16)
Http1\Http1ConnectionTests.cs (8)
1113public static IEnumerable<object[]> RequestLineValidData => HttpParsingData.RequestLineValidData; 1115public static IEnumerable<object[]> RequestLineDotSegmentData => HttpParsingData.RequestLineDotSegmentData; 1123foreach (var target in HttpParsingData.TargetWithEncodedNullCharData) 1133=> HttpParsingData.TargetInvalidData; 1136=> HttpParsingData.MethodNotAllowedRequestLine; 1144foreach (var target in HttpParsingData.TargetWithNullCharData) 1159foreach (var target in HttpParsingData.MethodWithNullCharData) 1174foreach (var target in HttpParsingData.QueryStringWithNullCharData)
HttpParserTests.cs (8)
855public static IEnumerable<object[]> RequestLineValidData => HttpParsingData.RequestLineValidData; 857public static IEnumerable<object[]> RequestLineIncompleteData => HttpParsingData.RequestLineIncompleteData.Select(requestLine => new[] { requestLine }); 859public static IEnumerable<object[]> RequestLineInvalidDataLineFeedTerminator => HttpParsingData.RequestLineInvalidDataLineFeedTerminator.Select(requestLine => new[] { requestLine }); 861public static IEnumerable<object[]> RequestLineInvalidData => HttpParsingData.RequestLineInvalidData.Select(requestLine => new[] { requestLine }); 863public static IEnumerable<object[]> MethodWithNonTokenCharData => HttpParsingData.MethodWithNonTokenCharData.Select(method => new[] { method }); 865public static TheoryData<string> UnrecognizedHttpVersionData => HttpParsingData.UnrecognizedHttpVersionData; 867public static IEnumerable<object[]> RequestHeaderInvalidData => HttpParsingData.RequestHeaderInvalidData; 869public static IEnumerable<object[]> RequestHeaderInvalidDataLineFeedTerminator => HttpParsingData.RequestHeaderInvalidDataLineFeedTerminator;