aboutsummaryrefslogtreecommitdiff
path: root/ServiceStack/HttpResponseExtensionsInternal.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-28 00:38:41 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-28 00:38:41 -0500
commit56b24da15165ef4c4b7107b673bab5b191d76afe (patch)
tree2e0462593fed108f1807caeb76a3b6692a55e049 /ServiceStack/HttpResponseExtensionsInternal.cs
parent4a548f30811bb8aeee689bec90773b36398078e9 (diff)
update response stream parsing
Diffstat (limited to 'ServiceStack/HttpResponseExtensionsInternal.cs')
-rw-r--r--ServiceStack/HttpResponseExtensionsInternal.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ServiceStack/HttpResponseExtensionsInternal.cs b/ServiceStack/HttpResponseExtensionsInternal.cs
index f78647721..feb18081a 100644
--- a/ServiceStack/HttpResponseExtensionsInternal.cs
+++ b/ServiceStack/HttpResponseExtensionsInternal.cs
@@ -130,7 +130,7 @@ namespace ServiceStack
{
foreach (var responseHeaders in responseOptions.Headers)
{
- if (responseHeaders.Key == "Content-Length")
+ if (string.Equals(responseHeaders.Key, "Content-Length", StringComparison.OrdinalIgnoreCase))
{
response.SetContentLength(long.Parse(responseHeaders.Value));
continue;