Files
nginx-unit/test/ruby/header_custom/config.ru
2018-03-21 18:26:40 +03:00

9 lines
145 B
Ruby

app = Proc.new do |env|
['200', {
'Content-Length' => '0',
'Custom-Header' => env['rack.input'].read
}, []]
end
run app