technoweenie at gmail.com
Thu Oct 19 20:03:48 EDT 2006
On 10/19/06, Zed A. Shaw <zedshaw at zedshaw.com> wrote:
> On Fri, 20 Oct 2006 08:24:13 +1000
> "Carl Woodward" <cjwoodward at gmail.com> wrote:
> > Hi,
> > I'm trying to write a file upload monitor for mongrel that uses
> > juggernaut to alert the browser of a change. I'm writing a plugin that
> > uses Mongrel::HttpHandlerPlugin but it looks like the only method that
> > gets called is process and that is only when the upload has finished.
> > I'm setting the following:
> > @request_notify = true
> > But I am still only getting process to come through.
> > Any ideas?
> Did you check out the existing mongrel_upload_progress code works? I'd base your work on that before striking out on your own.
It should work just fine. You just need to write a custom action to
return the status for juggernaut though. I'm not sure how you prefer
to do that. The MUP example in the docs show a rails action to return
More information about the Mongrel-users