11 references to CanHaveBody
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (11)
Http2Tests.cs (4)
37
Assert.False(httpContext.Request.
CanHaveBody
());
119
Assert.False(httpContext.Request.
CanHaveBody
());
169
Assert.True(httpContext.Request.
CanHaveBody
());
233
Assert.True(httpContext.Request.
CanHaveBody
());
RequestBodyLimitTests.cs (2)
51
Assert.True(httpContext.Request.
CanHaveBody
());
118
Assert.True(httpContext.Request.
CanHaveBody
());
RequestBodyTests.cs (4)
29
Assert.True(httpContext.Request.
CanHaveBody
());
49
Assert.True(httpContext.Request.
CanHaveBody
());
71
Assert.True(httpContext.Request.
CanHaveBody
());
89
Assert.True(httpContext.Request.
CanHaveBody
());
RequestTests.cs (1)
41
Assert.False(httpContext.Request.
CanHaveBody
());