27 references to Http10
Microsoft.AspNetCore.Server.Kestrel.Core (11)
Internal\Http\Http1Connection.cs (1)
606
if (_httpVersion == Http.HttpVersion.
Http10
)
Internal\Http\Http1MessageBody.cs (2)
130
var keepAlive = httpVersion != HttpVersion.
Http10
;
208
if (httpVersion == HttpVersion.
Http10
&& (context.Method == HttpMethod.Post || context.Method == HttpMethod.Put))
Internal\Http\HttpProtocol.cs (5)
173
if (_httpVersion == Http.HttpVersion.
Http10
)
200
_httpVersion = Http.HttpVersion.
Http10
;
226
_httpVersion = Http.HttpVersion.
Http10
;
942
if (_httpVersion != Http.HttpVersion.
Http10
&&
1238
else if (_httpVersion == Http.HttpVersion.
Http10
)
Internal\Http2\Http2Connection.cs (1)
581
if (detectedVersion == HttpVersion.
Http10
|| detectedVersion == HttpVersion.Http11)
Internal\Infrastructure\HttpUtilities.cs (2)
419
return HttpVersion.
Http10
;
456
case HttpVersion.
Http10
:
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (16)
HttpUtilitiesTest.cs (1)
55
[InlineData("HTTP/1.0\r", true, "HTTP/1.0", (int)HttpVersion.
Http10
)]
MessageBodyTests.cs (15)
26
[InlineData((int)HttpVersion.
Http10
)]
56
[InlineData((int)HttpVersion.
Http10
)]
84
[InlineData((int)HttpVersion.
Http10
)]
111
[InlineData((int)HttpVersion.
Http10
)]
132
[InlineData((int)HttpVersion.
Http10
)]
153
[InlineData((int)HttpVersion.
Http10
)]
412
[InlineData((int)HttpVersion.
Http10
)]
441
[InlineData((int)HttpVersion.
Http10
)]
468
[InlineData((int)HttpVersion.
Http10
)]
492
[InlineData((int)HttpVersion.
Http10
)]
518
var body = Http1MessageBody.For(HttpVersion.
Http10
, new HttpRequestHeaders { HeaderContentLength = "8197" }, input.Http1Connection);
584
Http1MessageBody.For(HttpVersion.
Http10
, new HttpRequestHeaders(), input.Http1Connection));
596
var body = Http1MessageBody.For(HttpVersion.
Http10
, new HttpRequestHeaders { HeaderContentLength = "5" }, input.Http1Connection);
619
var body = Http1MessageBody.For(HttpVersion.
Http10
, new HttpRequestHeaders { HeaderContentLength = "5" }, input.Http1Connection);
636
var body = Http1MessageBody.For(HttpVersion.
Http10
, new HttpRequestHeaders { HeaderContentLength = "5" }, input.Http1Connection);