diff options
Diffstat (limited to 'test/ruby/errors_puts')
-rw-r--r-- | test/ruby/errors_puts/config.ru | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ruby/errors_puts/config.ru b/test/ruby/errors_puts/config.ru new file mode 100644 index 00000000..75d0d87e --- /dev/null +++ b/test/ruby/errors_puts/config.ru @@ -0,0 +1,6 @@ +app = Proc.new do |env| + env['rack.errors'].puts('Error in application') + ['200', {'Content-Length' => '0'}, ['']] +end + +run app |