1 2 3 4 5 6 7 8
app = Proc.new do |env| ['200', { 'Content-Length' => '0', 'Custom-Header' => env['rack.input'].read }, []] end run app