From c8e46fcb007a8599cac1b3861744669b1eab9406 Mon Sep 17 00:00:00 2001 From: why Date: Tue, 11 Apr 2006 01:46:13 +0000 Subject: Support large file uploads, moving them into a Tempfile should they cross the MAX_BODY threshold. The only change here really is that HttpRequest#body is now an IO object rather than a string. I changed the various handlers to support this. git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@157 19e92222-5c0b-0410-8929-a290d50e31e9 --- examples/camping/blog.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/camping/blog.rb b/examples/camping/blog.rb index 18732a4..81a87da 100755 --- a/examples/camping/blog.rb +++ b/examples/camping/blog.rb @@ -281,7 +281,7 @@ if __FILE__ == $0 # Use the Configurator as an example rather than Mongrel::Camping.start config = Mongrel::Configurator.new :host => "0.0.0.0" do listener :port => 3002 do - uri "/blog", :handler => CampingHandler.new(Blog) + uri "/blog", :handler => Mongrel::Camping::CampingHandler.new(Blog) uri "/favicon", :handler => Mongrel::Error404Handler.new("") trap("INT") { stop } run -- cgit v1.2.3-24-ge0c7