document deprecations, refactor finalize body a bit
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Delta.pod
index 2521e26..1c3de6e 100755 (executable)
@@ -75,6 +75,11 @@ this backcompat will be removed in an upcoming release so you should either
 rewrite your custom filehandle objects to support getline or start using the 
 middleware that adapts read for getline L<Plack::Middleware::AdaptFilehandleRead>.
 
+=head3 Response->headers become readonly after finalizing
+
+Once the response headers are finalized, trying to change them is not allowed
+(in the past you could change them and this would lead to unexpected results).
+
 =head3 Offically deprecation of L<Catalyst::Engine::PSGI>
 
 L<Catalyst::Engine::PSGI> is also officially no longer supported.  We will
@@ -90,6 +95,13 @@ Code has been maintained here for backcompat reasons.  This is no longer
 supported and will be removed in upcoming release, so you should update
 your code and / or upgrade to a newer version of L<Catalyst>
 
+=head2 Deprecate setting Response->body after using write/write_fh
+
+Setting $c->res->body to a filehandle after using $c->res->write or
+$c->res->write_fh is no longer considered allowed, since we can't send
+the filehandle to the underlying Plack handler.  For now we will continue
+to support setting body to a simple value since 
+
 =head2 VERSION 5.90053
 
 We are now clarifying the behavior of log, plugins and configuration during