List Info

Thread: Clever NPH header handling in CherryPy?




Clever NPH header handling in CherryPy?
user name
2006-12-06 15:48:20
Hi, I may be asking for the impossible, but I figured I'd
try anyway.
I'm looking for NPH header support in CherryPy, so that, in
theory, I
could somehow return a portion of my data at a time,
repeatedly passing
the data back to the same session.
I realize this implies some connectivity which CherryPy does
not
support.
I also realize I could kludge this by generating my output
to a log
file, and using a Perl, PHP, or Javascript NPH header script
to refresh
the page contents from the log file.
But being the purist that I am, I'm hoping to use one single
tool for
all of HTML header needs.
Is there any clever way to add this functionality to
CherryPy, where if
you turn on an NPH parameter for a particluar method,
CherryPy can
stream output to a browser indefinitely, placing the
responsibility and
management of how and when it runs/ends in the developer's
hands?
Thank you in advance,
Gloria


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://groups-beta.google.com/group/cherrypy-users?hl=en

-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )