10 references to MethodToString
InMemory.FunctionalTests (3)
RequestTargetProcessingTests.cs (1)
116
$"{HttpUtilities.
MethodToString
(method)} {requestTarget} HTTP/1.1",
ResponseTests.cs (2)
698
$"{HttpUtilities.
MethodToString
(method)} / HTTP/1.1",
736
$"{HttpUtilities.
MethodToString
(method)} / HTTP/1.1",
Microsoft.AspNetCore.Server.Kestrel.Core (2)
BadHttpRequestException.cs (1)
27
AllowedHeader = HttpUtilities.
MethodToString
(requiredMethod.Value);
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
43
_methodText = HttpUtilities.
MethodToString
(Method) ?? string.Empty;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (5)
Http1\Http1ConnectionTests.cs (1)
567
Assert.Equal(HttpUtilities.
MethodToString
(allowedMethod), exception.AllowedHeader);
HttpParserTests.cs (2)
917
Method = method != HttpMethod.Custom ? HttpUtilities.
MethodToString
(method) : customMethod.GetAsciiString();
935
Method = method != HttpMethod.Custom ? HttpUtilities.
MethodToString
(method) : customMethod.GetAsciiString();
HttpUtilitiesTest.cs (2)
44
toString = HttpUtilities.
MethodToString
(knownMethod);
122
return HttpUtilities.
MethodToString
(method);