X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FResponse.pm;h=236f70120589738f635b760db89ce96b4d28553d;hb=9ffadf88044260afc4dfb058cbfc08a3b0a803f0;hp=e3278e3b777e2e248fa4847794f283b5ecad03ee;hpb=b5176d9ee9b99c2550fc202ee25709d431482ede;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Response.pm b/lib/Catalyst/Response.pm index e3278e3..236f701 100644 --- a/lib/Catalyst/Response.pm +++ b/lib/Catalyst/Response.pm @@ -21,6 +21,7 @@ Catalyst::Response - Catalyst Response Class $resp->content_length; $resp->content_type; $resp->cookies; + $resp->header; $resp->headers; $resp->output; $resp->redirect; @@ -30,8 +31,8 @@ See also L. =head1 DESCRIPTION -This is the Catalyst Response class, which provides a set of accessors to -response data. +This is the Catalyst Response class, which provides a set of accessors +to response data. =head1 METHODS @@ -51,7 +52,7 @@ Shortcut to $resp->headers->content_type =item $resp->cookies -Returns a reference to a hash containing the cookies. +Returns a reference to a hash containing the cookies to be set. $c->response->cookies->{foo} = { value => '123' }; @@ -69,7 +70,7 @@ Returns a L object containing the headers. Contains the final output. - $c->response->output('Catalyst rockz!'); + $c->response->output('Catalyst rocks!'); =item $resp->redirect($url) @@ -88,11 +89,12 @@ Contains the HTTP status. =head1 AUTHOR Sebastian Riedel, C +Marcus Ramberg, C =head1 COPYRIGHT -This program is free software, you can redistribute it and/or modify it under -the same terms as Perl itself. +This program is free software, you can redistribute it and/or modify +it under the same terms as Perl itself. =cut