ContentType.IsNullOrEmpty
This commit is contained in:
parent
3ea2f36449
commit
3b25acd4ad
|
|
@ -81,7 +81,7 @@ namespace Microsoft.AspNetCore.Http.Internal
|
|||
}
|
||||
set
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(value))
|
||||
if (string.IsNullOrEmpty(value))
|
||||
{
|
||||
HttpResponseFeature.Headers.Remove(HeaderNames.ContentType);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue