summary refs log tree commit
path: root/lib/rack/lint.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rack/lint.rb')
-rwxr-xr-xlib/rack/lint.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/rack/lint.rb b/lib/rack/lint.rb
index 7baca867..547e6a1c 100755
--- a/lib/rack/lint.rb
+++ b/lib/rack/lint.rb
@@ -478,9 +478,10 @@ module Rack
           }
         end
 
-        ## * +close+ must never be called on the input stream.
+        ## * +close+ can be called on the input stream to indicate that the
+        ## any remaining input is not needed.
         def close(*args)
-          raise LintError, "rack.input#close must not be called"
+          @input.close(*args)
         end
       end