Doc fix
Marcus Ramberg [Mon, 16 Apr 2007 11:12:37 +0000 (11:12 +0000)]
Changes
lib/Catalyst/Response.pm

diff --git a/Changes b/Changes
index c547f97..e87c278 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,6 +1,6 @@
 This file documents the revision history for Perl extension Catalyst.
 
-5.7008  XXXX-XX-XX
+5.7007  2007-03-13 14:18:00
         - Many performance improvements by not using URI.pm:
           * $c->uri_for (approx. 8x faster)
           * $c->engine->prepare_path (approx. 27x faster)
@@ -11,8 +11,6 @@ This file documents the revision history for Perl extension Catalyst.
           * Uploaded files with the name "0" are no longer ignored.
         - Sending SIGHUP to the dev server will now cause it to restart.
         - Allow "0" for a path in uri_for.
-
-5.7007  2007-03-13 14:18:00
         - Performance and stability improvements to the built-in HTTP server.
         - Don't ignore file uploads if form contains a text field with the same name.
           (Carl Franks)
index e99cd85..877f8c9 100644 (file)
@@ -34,15 +34,19 @@ Catalyst::Response - stores output responding to the current client request
 =head1 DESCRIPTION
 
 This is the Catalyst Response class, which provides methods for responding to
-the current client request.
+the current client request. The appropriate L<Catalyst::Engine> for your environment
+will turn the Catalyst::Response into a HTTP Response and return it to the client.
 
 =head1 METHODS
 
-=head2 $res->body($text)
+=head2 $res->body(<$text|$fh|$iofh_object)
 
     $c->response->body('Catalyst rocks!');
 
-Sets or returns the output (text or binary data).
+Sets or returns the output (text or binary data). If you are returning a large body,
+you might want to use a L<IO::FileHandle> type of object (Something that implements the read method
+in the same fashion), or a filehandle GLOB. Catalyst
+will write it piece by piece into the response.
 
 =head2 $res->content_encoding