如何为 mod_xml_curl 不返回任何内容?
这里的手册 http://wiki.freeswitch.org/wiki/Mod_xml_curl 说,curl 服务应该如果希望 Freeswitch 基于静态 XML 处理其请求,则“不返回任何内容”。
“不返回任何内容”到底是什么意思?
0) 不响应客户端请求(超时) 1)返回HTTP 404错误? 2)返回HTTP 204错误(无内容)? 3)返回内容为零的HTTP 200? 4) 返回带有任何空格但没有 XML 标记的 HTTP 200?
其他的还是以上的某种组合?
谢谢
Manual here http://wiki.freeswitch.org/wiki/Mod_xml_curl says, that curl service should "return nothing" if it wants Freeswitch to process it's request based on static XMLs.
What exactly "return nothing" means?
0) Do not respond on client request (timeout)
1) Return HTTP 404 error?
2) Return HTTP 204 error (No Content)?
3) Return HTTP 200 with zero content?
4) Return HTTP 200 with any whitespaces but no XML tags?
Something else or some combination of the above?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信答案是“以上都不是”; 为了完整性,如果您希望处理
结束(即不再搜索进一步的绑定),则正确的响应是
I believe the answer is 'none of the above'; you should return
For completeness, if you want processing to end (i.e. no further bindings to be searched), the correct response is