List Info

Thread: Length Processing




Length Processing
user name
2006-10-25 18:00:59
Tim Roberts wrote:
> It didn't work in CGI because the threads shared
handles,
> and Apache uses the stdin/stdout handles to decide when
> the page is complete.

CherryPy doesn't use stdin/out (it reads/writes from the
socket), so no
worries there.

> > Then use a 202 Accepted in the main thread to
inform the
> > client the processing is undertaken but not
completed.
> 
> The client doesn't have to wait.  The situation is that
I
> occasionally have to send an e-mail to a thousand
addresses.
> The client triggers the action, but doesn't need a
confirmation
> when complete.  I just need to do the work.

Sylvain is right; that's exactly what 202 was designed for.


Robert Brewer
System Architect
Amor Ministries
fumanchuamor.org

--~--~---------~--~----~------------~-------~--~----~
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 ht
tp://groups-beta.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

[1]

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