#182 Revert workaround for HttpResponseMessage.ReasonPhrase.
This commit is contained in:
parent
faeedf1c42
commit
bdcdf29ade
|
|
@ -97,7 +97,7 @@ namespace Microsoft.AspNetCore.Server.WebListener
|
|||
{
|
||||
HttpResponseMessage response = await SendRequestAsync(address);
|
||||
Assert.Equal(901, (int)response.StatusCode);
|
||||
Assert.True(string.IsNullOrEmpty(response.ReasonPhrase)); // https://github.com/dotnet/corefx/issues/6721
|
||||
Assert.Equal(string.Empty, response.ReasonPhrase);
|
||||
Assert.Equal(string.Empty, await response.Content.ReadAsStringAsync());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ namespace Microsoft.Net.Http.Server
|
|||
|
||||
HttpResponseMessage response = await responseTask;
|
||||
Assert.Equal(901, (int)response.StatusCode);
|
||||
Assert.True(string.IsNullOrEmpty(response.ReasonPhrase)); // https://github.com/dotnet/corefx/issues/6721
|
||||
Assert.Equal(string.Empty, response.ReasonPhrase);
|
||||
Assert.Equal(string.Empty, await response.Content.ReadAsStringAsync());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue