summaryrefslogtreecommitdiffhomepage
path: root/test/ruby
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2023-11-17 17:28:44 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2023-11-17 17:28:44 +0000
commit8fbe437ca690d92a6d75b1d5314b5aa3bf8787b9 (patch)
tree8628e96a9d3fe6c51c997c257f485ea7ff942519 /test/ruby
parent1443d623d4b5d59e4463e025b4125be9a5aa3436 (diff)
downloadunit-8fbe437ca690d92a6d75b1d5314b5aa3bf8787b9.tar.gz
unit-8fbe437ca690d92a6d75b1d5314b5aa3bf8787b9.tar.bz2
Tests: Ruby input.rewind is no longer required.
For more information see: https://github.com/rack/rack/commit/42aff22f708123839ba706cbe659d108b47c40c7
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/input_rewind/config.ru8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/ruby/input_rewind/config.ru b/test/ruby/input_rewind/config.ru
deleted file mode 100644
index fc0d6535..00000000
--- a/test/ruby/input_rewind/config.ru
+++ /dev/null
@@ -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