How can I set Transfer-Encoding to chunked, explicitly or implicitly, in an ASP.NET response?

后端 未结 4 1792
暖寄归人
暖寄归人 2020-12-15 07:26

Can I simply set the Transfer-Encoding header?

Will calling Response.Flush() at some point cause this to occur implicitly?


<
4条回答
  •  心在旅途
    2020-12-15 08:18

    It looks like you need to setup IIS for this. IIS 6 has a property AspEnableChunkedEncoding in the metabase and you can see the IIS 7 mappings for this on MSDN at http://msdn.microsoft.com/en-us/library/aa965021(VS.90).aspx. This will enable you to set TRANSFER-ENCODING: chunked in your header. I hope this helps.

提交回复
热议问题