diff options
author | Martin Baulig <mabaul@microsoft.com> | 2017-05-12 21:32:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-12 21:32:50 +0300 |
commit | 5c0f506a8dbf13cac9a5bb581e243561d6eded19 (patch) | |
tree | af3f48e786a6c30a5362de5207f4643dc1b152d8 /mcs/class/System.Net.Http | |
parent | b60cf06374041295c62848e94b7cb06efde784aa (diff) |
[System]: Replace HttpListenerResponseHelper with HttpStatusDescription from CoreFX (#4833)
* [System]: Replace HttpListenerResponseHelper with HttpStatusDescription from CoreFX.
* Update common.sources
Diffstat (limited to 'mcs/class/System.Net.Http')
-rw-r--r-- | mcs/class/System.Net.Http/System.Net.Http/HttpResponseMessage.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.Net.Http/System.Net.Http/HttpResponseMessage.cs b/mcs/class/System.Net.Http/System.Net.Http/HttpResponseMessage.cs index 25c9743fbc7..0bdd0b652a1 100644 --- a/mcs/class/System.Net.Http/System.Net.Http/HttpResponseMessage.cs +++ b/mcs/class/System.Net.Http/System.Net.Http/HttpResponseMessage.cs @@ -66,7 +66,7 @@ namespace System.Net.Http public string ReasonPhrase { get { - return reasonPhrase ?? HttpListenerResponseHelper.GetStatusDescription ((int) statusCode); + return reasonPhrase ?? HttpStatusDescription.Get (statusCode); } set { reasonPhrase = value; |