Azure function sends chunked response and Dialogflow does not process it

帅比萌擦擦* 提交于 2019-12-11 16:59:01

问题


I am creating a Google action using Dialog flow with a webhook implemented as an Azure function written in c#. I have run into a problem that using .net core 2 that the response sent back from the Azure function is being chunked but that Dialog flow does not understand the chunked response. Though it was possible to switch off chunking with the full .net framework it seems harder to do with .net core 2. Has anyone found a solution to this problem?

Thanks

I searched online and is that I am not the only person running into this problem but I have not yet seen a solution that works with .net core

My expectation is that when Dialog flow calls the webhook that it receives a response it can process.


回答1:


The chunked response problem has been fixed(Enabling buffering for all requests) since runtime 2.0.12265 was released, right now see 2.0.12285.0(In portal, Function app settings, Runtime version) on my side.



来源:https://stackoverflow.com/questions/54074389/azure-function-sends-chunked-response-and-dialogflow-does-not-process-it

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