1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/test/rackup/hijack.ru
2017-04-11 14:08:18 -07: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, {}, []]
}