summary refs log tree commit
path: root/lib/rack.rb
diff options
context:
space:
mode:
authorLenny Marks <lenny@aps.org>2014-03-27 16:44:30 -0400
committerJames Tucker <jftucker@gmail.com>2014-07-14 21:20:18 -0700
commitee0e35d7d47412ac71d92222bf8cf0777910057c (patch)
tree5cf8236279995b6164f9dfdc46ce562865764868 /lib/rack.rb
parent2f3d6655218c967cf1b20600f701349bdb418bfc (diff)
downloadrack-ee0e35d7d47412ac71d92222bf8cf0777910057c.tar.gz
Rack::TempfileReaper
  - should do nothing (i.e. not bomb out) without env[rack.tempfiles]
  - should close env[rack.tempfiles] when body is closed
  - should initialize env[rack.tempfiles] when not already present
  - should append env[rack.tempfiles] when already present
Diffstat (limited to 'lib/rack.rb')
-rw-r--r--lib/rack.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rack.rb b/lib/rack.rb
index 57119df3..341514c5 100644
--- a/lib/rack.rb
+++ b/lib/rack.rb
@@ -53,6 +53,7 @@ module Rack
   autoload :ShowExceptions, "rack/showexceptions"
   autoload :ShowStatus, "rack/showstatus"
   autoload :Static, "rack/static"
+  autoload :TempfileReaper, "rack/tempfile_reaper"
   autoload :URLMap, "rack/urlmap"
   autoload :Utils, "rack/utils"
   autoload :Multipart, "rack/multipart"