15 references to Head
InMemory.FunctionalTests (1)
ResponseTests.cs (1)
615
HttpMethod.
Head
,
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Internal\Http\HttpProtocol.cs (6)
913
if (Method != HttpMethod.
Head
&&
1092
if (Method == HttpMethod.
Head
&& _responseBytesWritten > 0)
1113
if (Method == HttpMethod.
Head
&& _responseBytesWritten > 0)
1288
return Method != HttpMethod.
Head
&&
1298
Method != HttpMethod.
Head
&&
1370
if (Method != HttpMethod.
Head
)
Internal\Infrastructure\HttpUtilities.cs (1)
341
HttpMethod.
Head
,
Internal\Infrastructure\HttpUtilities.Generated.cs (2)
43
SetKnownMethod(_mask5Chars, _httpHeadMethodLong, HttpMethod.
Head
, 4);
54
_methodNames[(byte)HttpMethod.
Head
] = HttpMethods.Head;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (5)
Http1\Http1ConnectionTests.cs (3)
610
_http1Connection.Method = HttpMethod.
Head
;
621
_http1Connection.Method = HttpMethod.
Head
;
632
_http1Connection.Method = HttpMethod.
Head
;
HttpUtilitiesTest.cs (1)
19
[InlineData("HEAD / HTTP/1.1", true, "HEAD", (int)HttpMethod.
Head
)]
KnownStringsTests.cs (1)
51
CreateTestDataEntry(_methodHead, (int)HttpMethod.
Head
, 4, true),