mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-11 18:20:26 +09:00
Get response headers from LoopbackServer implementation (#104774)
This commit is contained in:
parent
e587186273
commit
a19fc08e6c
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ namespace System.Net.Http.WinHttpHandlerFunctional.Tests
|
|||
await server.AcceptConnectionAsync(async connection =>
|
||||
{
|
||||
await connection.ReadRequestDataAsync();
|
||||
await connection.SendResponseAsync($"HTTP/1.1 200 OK\r\nDate: {DateTimeOffset.UtcNow:R)}\r\nContent-Length: 1000\r\n\r\n");
|
||||
await connection.SendResponseAsync(LoopbackServer.GetHttpResponseHeaders(contentLength: 1000));
|
||||
await tcs.Task;
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue