Fixing BadRequest tests to not try sending data after Bad Request

This commit is contained in:
moozzyk 2016-06-06 15:10:55 -07:00
parent 69bd0dc4be
commit 50e8948bb9
1 changed files with 1 additions and 4 deletions

View File

@ -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);
}
}