Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgor Bogatov <egorbo@gmail.com>2019-07-17 14:08:29 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2019-07-17 14:08:29 +0300
commit4febac951ee1c04a024f3a64e0f2380903a7954d (patch)
tree20185c1ed28a0803a34939a443b38b7748ca818a /mcs/class/System.Net.Http
parentb61a4368c0f432755bf8930d29cee07b7278025c (diff)
[bcl] Sync recent NS2.1 changes (#15696)
1) Copied changes from corefx for System.Data (also https://github.com/mono/corefx/pull/310) 2) New Tracing api is left empty (because the current API is empty too) 3) New AES types throw PNSE Bump netstandard.dll AssemblyVersion to 2.1 (fixes https://github.com/mono/mono/issues/13412)
Diffstat (limited to 'mcs/class/System.Net.Http')
-rw-r--r--mcs/class/System.Net.Http/System.Net.Http/HttpResponseMessage.cs10
1 files changed, 10 insertions, 0 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 0bdd0b652a1..e0faa8bc95b 100644
--- a/mcs/class/System.Net.Http/System.Net.Http/HttpResponseMessage.cs
+++ b/mcs/class/System.Net.Http/System.Net.Http/HttpResponseMessage.cs
@@ -34,6 +34,7 @@ namespace System.Net.Http
public class HttpResponseMessage : IDisposable
{
HttpResponseHeaders headers;
+ HttpResponseHeaders trailingHeaders;
string reasonPhrase;
HttpStatusCode statusCode;
Version version;
@@ -137,5 +138,14 @@ namespace System.Net.Http
return sb.ToString ();
}
+
+ public HttpResponseHeaders TrailingHeaders {
+ get {
+ if (trailingHeaders == null)
+ trailingHeaders = new HttpResponseHeaders ();
+
+ return trailingHeaders;
+ }
+ }
}
}