ContentType.IsNullOrEmpty

This commit is contained in:
Ben Adams 2017-01-08 12:33:38 +00:00 committed by Chris R
parent 3ea2f36449
commit 3b25acd4ad
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ namespace Microsoft.AspNetCore.Http.Internal
}
set
{
if (string.IsNullOrWhiteSpace(value))
if (string.IsNullOrEmpty(value))
{
HttpResponseFeature.Headers.Remove(HeaderNames.ContentType);
}