X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FResponse.pm;h=18930dac4798d7ed09991a2697df49f72588c62a;hb=ab2374d3a68f4d44601813f351b38222822b7c39;hp=6f8b5c66ea0d5ea75ca7ab677c1669a5d8216bd8;hpb=fbcc39ad23f2bbecf5d84c9ba581e6af86fcd460;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Response.pm b/lib/Catalyst/Response.pm index 6f8b5c6..18930da 100644 --- a/lib/Catalyst/Response.pm +++ b/lib/Catalyst/Response.pm @@ -24,7 +24,6 @@ Catalyst::Response - Catalyst Response Class $res->content_length; $res->content_type; $res->cookies; - $res->handle; $res->header; $res->headers; $res->output; @@ -67,28 +66,6 @@ Returns a reference to a hash containing the cookies to be set. $c->response->cookies->{foo} = { value => '123' }; -=item $res->handle - -Response IO handle. - -=cut - -sub handle { - my ( $self, $handle ) = @_; - - if ($handle) { - $self->{handle} = $handle; - } - else { - # Finalize headers if someone touches the output handle - if ( $self->{_context} ) { - $self->{_context}->finalize_headers; - } - } - - return $self->{handle}; -} - =item $res->header Shortcut to $res->headers->header