search for: progresshandler

Displaying 1 result from an estimated 1 matches for "progresshandler".

2006 May 11
7
Upload progress "plugin"
...' require ''mongrel/progress'' config = Mongrel::Configurator.new :host => host do listener :port => port do uri "/", :handler => Mongrel::Camping::CampingHandler.new(ParkPlace) uri "/progress", :handler => Mongrel::ProgressHandler.new uri "/favicon", :handler => Mongrel::Error404Handler.new("") trap("INT") { stop } run end end config.join Yeah, so, notice the ProgressHandler class and the require. In your forms: <form action="?upload_id=XXX" enctype...