#182 Revert workaround for HttpResponseMessage.ReasonPhrase.

This commit is contained in:
Chris R 2016-03-30 16:03:04 -07:00
parent faeedf1c42
commit bdcdf29ade
2 changed files with 2 additions and 2 deletions

View File

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

View File

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