[Mongrel] Mongrel::HttpHandlerPlugin

Carl Woodward cjwoodward at gmail.com
Thu Oct 19 21:25:39 EDT 2006


Hi Rick, I actually think I found a bug in mongrel, see a couple of
emails back. I would be really interested in your feedback?

Thanks,
Carl.

On 10/20/06, Rick Olson <technoweenie at gmail.com> wrote:
> 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
> custom javascript code for an iframe...
>
> --
> Rick Olson
> http://weblog.techno-weenie.net
> http://mephistoblog.com
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>


-- 
Carl Woodward
0412218979
cjwoodward at gmail.com


More information about the Mongrel-users mailing list