Display the result on the webpage as soon as the data is available at server

前端 未结 4 1117
南旧
南旧 2020-12-05 05:47

I am writing a cgi page in Python. Let\'s say a client sends request to my cgi page. My cgi page does the calculation and as soon as it has the first output, it sends back t

4条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-05 06:41

    Yes thats possible and you don't have do much, as you print data out, server will send it, just to be sure keep flushing stdout

提交回复
热议问题