Tests: Ruby input.rewind is no longer required.

For more information see:
42aff22f70
This commit is contained in:
Andrei Zeliankou
2023-11-17 17:28:44 +00:00
parent 1443d623d4
commit 8fbe437ca6
2 changed files with 0 additions and 17 deletions

View File

@@ -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