__PACKAGE__->mk_accessors(qw/cookies headers output redirect status/);
+sub content_encoding { shift->headers->content_encoding(@_) }
+sub content_length { shift->headers->content_length(@_) }
+sub content_type { shift->headers->content_type(@_) }
+sub header { shift->headers->header(@_) }
+
=head1 NAME
Catalyst::Response - Catalyst Response Class
=head1 SYNOPSIS
$resp = $c->response;
+ $resp->content_encoding;
+ $resp->content_length;
+ $resp->content_type;
$resp->cookies;
+ $resp->header;
$resp->headers;
$resp->output;
$resp->redirect;
=over 4
+=item $resp->content_encoding
+
+Shortcut to $resp->headers->content_encoding
+
+=item $resp->content_length
+
+Shortcut to $resp->headers->content_length
+
+=item $resp->content_type
+
+Shortcut to $resp->headers->content_type
+
=item $resp->cookies
Returns a reference to a hash containing the cookies.
$c->response->cookies->{foo} = { value => '123' };
+=item $resp->header
+
+Shortcut to $resp->headers->header
+
=item $resp->headers
Returns a L<HTTP::Headers> object containing the headers.