Tests: Ruby input.rewind is no longer required.
For more information see:
42aff22f70
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
app = Proc.new do |env|
|
||||
env['rack.input'].read
|
||||
env['rack.input'].rewind
|
||||
body = env['rack.input'].read
|
||||
['200', {'Content-Length' => body.length.to_s}, [body]]
|
||||
end
|
||||
|
||||
run app
|
||||
Reference in New Issue
Block a user