Permalink
Browse files

removed setting of content-length in serialized view, because it was …

…causing problems with non-ascii characters and really wasn't needed
  • Loading branch information...
1 parent b4cb980 commit 527e30a8162e300256cd056ef6e8ece32b1a8e88 @nberardi nberardi committed Nov 8, 2010
Showing with 0 additions and 3 deletions.
  1. +0 −3 Source/Web/Mvc/SerializedView.cs
View
3 Source/Web/Mvc/SerializedView.cs
@@ -155,10 +155,7 @@ public virtual void Render(ViewContext viewContext, TextWriter writer)
string content = GetContent();
if (content != null)
- {
- response.AppendHeader("Content-Length", content.Length.ToString());
response.Write(content);
- }
}
}

0 comments on commit 527e30a

Please sign in to comment.