diff options
| author | stefan <stefan@hegedues.at> | 2018-09-12 19:26:21 +0200 |
|---|---|---|
| committer | stefan <stefan@hegedues.at> | 2018-09-12 19:26:21 +0200 |
| commit | 48facb797ed912e4ea6b04b17d1ff190ac2daac4 (patch) | |
| tree | 8dae77a31670a888d733484cb17dd4077d5444e8 /RSSDP/HttpResponseParser.cs | |
| parent | c32d8656382a0eacb301692e0084377fc433ae9b (diff) | |
Update to 3.5.2 and .net core 2.1
Diffstat (limited to 'RSSDP/HttpResponseParser.cs')
| -rw-r--r-- | RSSDP/HttpResponseParser.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/RSSDP/HttpResponseParser.cs b/RSSDP/HttpResponseParser.cs index 5f297ca9a..8ecb944c2 100644 --- a/RSSDP/HttpResponseParser.cs +++ b/RSSDP/HttpResponseParser.cs @@ -16,7 +16,7 @@ namespace Rssdp.Infrastructure #region Fields & Constants - private static readonly string[] ContentHeaderNames = new string[] + private readonly string[] ContentHeaderNames = new string[] { "Allow", "Content-Disposition", "Content-Encoding", "Content-Language", "Content-Length", "Content-Location", "Content-MD5", "Content-Range", "Content-Type", "Expires", "Last-Modified" }; @@ -37,7 +37,7 @@ namespace Rssdp.Infrastructure { retVal = new System.Net.Http.HttpResponseMessage(); - retVal.Content = Parse(retVal, retVal.Headers, data); + Parse(retVal, retVal.Headers, data); return retVal; } |
