推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
duhastmich
V2EX  ›  Python

请问flask 有类似 fastcgi_finish_request() 的特性吗?

  •  
  •   duhastmich ·
    zweifisch · Oct 17, 2011 · 5492 views
    This topic created in 5461 days ago, the information mentioned may be changed or developed.
    php fpm 提供 fastcgi_finish_request() 提前完成客户相应,后面的php 脚本可以继续执行, flask 除了return 还有别的可能吗?
    1 replies  •  1970-01-01 08:00:00 +08:00
    ayanamist
        1
    ayanamist  
       Oct 17, 2011
    不熟悉Flash,不过理论上,可以在return前先开一个thread,然后再return,这样后台还是会有一个线程在运行的吧
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3222 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 04:49 · PVG 12:49 · LAX 21:49 · JFK 00:49
    ♥ Do have faith in what you're doing.