Simplify streaming example.

This commit is contained in:
Konstantin Haase 2010-09-07 14:53:43 +02:00
parent 6e00c57b22
commit 8fbd9c2105
1 changed files with 1 additions and 7 deletions

View File

@ -141,13 +141,7 @@ That way we can for instance easily implement a streaming example:
end
end
get '/' do
begin
Stream.new
rescue StandardError
[500, 'sorry, error']
end
end
get('/') { Stream.new }
== Static Files