Asp.net Core RC2 how to disable Transfer-Encoding: chunked on response

折月煮酒 提交于 2020-01-02 09:31:31

问题


I'm having issues with certain http clients (Matlab and KDB) having problems with chunked http responses.

Is there a way to disable chunked responses in Kestrel?


回答1:


Specify the content-length for responses. This may require buffering.



来源:https://stackoverflow.com/questions/37839877/asp-net-core-rc2-how-to-disable-transfer-encoding-chunked-on-response

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!