[mod_python] Execute python code while having generated page content already sent to browser - possible ?

Mateusz Korniak mateusz at ant.gliwice.pl
Tue Feb 5 06:09:03 EST 2008


Hi !
Is there any way to continue execute python code while having generated page 
content already sent to browser ?

What I would like to implement is:

content = generate_page_content() # It takes 0.02[s]
sent_to_browser(content) # We are not going to send anything more to browser
lazy_processing_of_request() # May take serveral seconds.

I do not want make browser to wait util lazy_processing_of_request() finishes 
to start receiving page contents.

Is it possible ?

Thanks in advance, 

mod_python-3.2.10
linux, mpm

-- 
Mateusz Korniak


More information about the Mod_python mailing list