diff options
Diffstat (limited to 'lib/rack/lint.rb')
-rwxr-xr-x | lib/rack/lint.rb | 5 |
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 |