From: John Napiorkowski Date: Fri, 24 Jan 2014 22:47:50 +0000 (-0600) Subject: more docs X-Git-Tag: 5.90060~21 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=e27f66333648124b2e0df77419f8014fd1d98df4 more docs --- diff --git a/lib/Catalyst/Delta.pod b/lib/Catalyst/Delta.pod index ea0b7c5..b7fcb37 100755 --- a/lib/Catalyst/Delta.pod +++ b/lib/Catalyst/Delta.pod @@ -64,8 +64,7 @@ additional performance when you don't need all the checks and constraints. We also deprecated setting the response body to an object that does 'read' but not 'getline'. If you are using a custom IO-Handle like object for response you should verify that 'getline' is supported in your interface. -You will get a first use warning for this error in your logs. Unless we -here this case is a major issue for people, we will be removing support +Unless we here this case is a major issue for people, we will be removing support in a near future release of Catalyst. When the code encounters this it will issue a warning. You also may run into this issue with L which does read but not getline. For now we will just warn when encountering @@ -104,6 +103,7 @@ to support setting body to a simple value since this is possible, but at some future release a choice to use streaming indicates that you will do so for the rest of the request. + =head2 VERSION 5.90053 We are now clarifying the behavior of log, plugins and configuration during diff --git a/lib/Catalyst/Engine.pm b/lib/Catalyst/Engine.pm index d48d9a4..017b2d4 100644 --- a/lib/Catalyst/Engine.pm +++ b/lib/Catalyst/Engine.pm @@ -162,6 +162,11 @@ sub finalize_body { close $body; } else { + + # Case where body was set afgter calling ->write. We'd prefer not to + # support this, but I can see some use cases with the way most of the + # views work. + $self->write($c, $body ); } }