José Valim
7da88c5b29
Remove stream at the class level.
...
This is because only template rendering works with streaming.
Setting it at the class level was also changing the behavior
of JSON and XML responses, closes #1337 .
2011-07-06 20:24:30 -03:00
José Valim
46611a995d
log errors when an exception happens when streaming.
2011-05-01 13:40:14 +02:00
José Valim
069e9b004f
Do not stream on HTTP/1.0.
2011-04-19 15:04:28 +02:00
José Valim
b398520c14
Output a redirect to the 500 page if something happens when streaming.
...
Currently, we output:
"><script type="text/javascript">window.location = "/500.html"</script></html>
2011-04-19 12:26:11 +02:00
José Valim
3b0f917b1d
Test explicit skip.
2011-04-18 14:27:49 +02:00
José Valim
07fde1a3d3
Just define the controller if fibers are defined.
2011-04-18 14:27:49 +02:00
José Valim
389d15ef13
Body... wanna *stream* my body? Body... such a thrill my body!
...
Added stream as class level method to make it explicit when to stream.
Render also accepts :stream as option.
2011-04-18 08:55:41 +02:00