阅读背景:

如何让django在继续完成与请求相关的任务之前给出HTTP响应?

来源:互联网 

In my django piston API, I want to yield/return a http response to the the client before calling another function that will take quite some time. How do I make the yield give a HTTP response containing the desired JSON and not a string relating to the creation of a generator object?In my django piston API, I want to yield/return




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: