aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/HttpResponseParser.cs
diff options
context:
space:
mode:
authorstefan <stefan@hegedues.at>2018-09-12 19:26:21 +0200
committerstefan <stefan@hegedues.at>2018-09-12 19:26:21 +0200
commit48facb797ed912e4ea6b04b17d1ff190ac2daac4 (patch)
tree8dae77a31670a888d733484cb17dd4077d5444e8 /RSSDP/HttpResponseParser.cs
parentc32d8656382a0eacb301692e0084377fc433ae9b (diff)
Update to 3.5.2 and .net core 2.1
Diffstat (limited to 'RSSDP/HttpResponseParser.cs')
-rw-r--r--RSSDP/HttpResponseParser.cs4
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;
}