X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FResponse.pm;h=377e3fbb13aa9a0ae79e3df9920a749a7c12d2d4;hp=877f8c967daea14e14ea0fe987a6155f63bf9a23;hb=0bf7ab7160f4f2fd0f00cd3d53ac311e9ad50241;hpb=46372e65373a893323ebcb5cb97427d579c7e85a diff --git a/lib/Catalyst/Response.pm b/lib/Catalyst/Response.pm index 877f8c9..377e3fb 100644 --- a/lib/Catalyst/Response.pm +++ b/lib/Catalyst/Response.pm @@ -39,12 +39,12 @@ will turn the Catalyst::Response into a HTTP Response and return it to the clien =head1 METHODS -=head2 $res->body(<$text|$fh|$iofh_object) +=head2 $res->body(<$text|$fh|$iohandle_object) $c->response->body('Catalyst rocks!'); 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 +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. @@ -143,9 +143,7 @@ sub write { shift->{_context}->write(@_); } =head1 AUTHORS -Sebastian Riedel, C - -Marcus Ramberg, C +Catalyst Contributors, see Catalyst.pm =head1 COPYRIGHT