Fixing BadRequest tests to not try sending data after Bad Request
This commit is contained in:
parent
69bd0dc4be
commit
50e8948bb9
|
|
@ -210,10 +210,7 @@ namespace Microsoft.AspNetCore.Server.KestrelTests
|
|||
{
|
||||
using (var connection = server.CreateConnection())
|
||||
{
|
||||
await connection.SendEnd(
|
||||
$"GET {path} HTTP/1.1",
|
||||
"",
|
||||
"");
|
||||
await connection.SendEnd($"GET {path} HTTP/1.1\r\n");
|
||||
await ReceiveBadRequestResponse(connection);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue