From 48facb797ed912e4ea6b04b17d1ff190ac2daac4 Mon Sep 17 00:00:00 2001 From: stefan Date: Wed, 12 Sep 2018 19:26:21 +0200 Subject: Update to 3.5.2 and .net core 2.1 --- RSSDP/HttpResponseParser.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'RSSDP/HttpResponseParser.cs') 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; } -- cgit v1.2.3