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

6 lines
105 B
Ruby

run lambda { |env|
io = env['rack.hijack'].call
io.puts "HTTP/1.1 200\r\n\r\nBLAH"
[-1, {}, []]
}