From: Marcus Ramberg Date: Mon, 16 Apr 2007 11:12:37 +0000 (+0000) Subject: Doc fix X-Git-Tag: 5.7099_04~191 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=46372e65373a893323ebcb5cb97427d579c7e85a Doc fix --- diff --git a/Changes b/Changes index c547f97..e87c278 100644 --- 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) diff --git a/lib/Catalyst/Response.pm b/lib/Catalyst/Response.pm index e99cd85..877f8c9 100644 --- a/lib/Catalyst/Response.pm +++ b/lib/Catalyst/Response.pm @@ -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 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 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