1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/test/hijack2.ru
2013-02-05 22:39:16 -08:00

5 lines
113 B
Ruby

run lambda { |env|
body = lambda { |io| io.puts "BLAH\n"; io.close }
[200, { 'rack.hijack' => body }, []]
}