title: How can I set Transfer-Encoding to chunked, explicitly or implicitly, in an ASP.NET response?
body: <p>Can I simply set the <code>Transfer-Encoding</code> header?  </p>
  
  <p>Will calling <code>Response.Flush()</code> at some point cause this to occur implicitly?  </p>
  
  <hr>
  
  <p><strong>EDIT</strong><br>
  No, I Cannot call <code>Response.Headers.Add("Transfer-Encoding","anything");</code>  That throws. </p>
  
  <p>any other suggestions?</p>
  
  <hr>
  
  <blockquote>
    <p>Related:<br>
    <a href="https://stackoverflow.com/questions/2277704/enable-chunked-transfer-encoding-in-asp-net">Enable Chunked Transfer Encoding in ASP.NET</a></p>
  </blockquote>