sub output { shift->body(@_) }
+sub code { shift->status(@_) }
+
no Moose;
=head1 NAME
$res = $c->response;
$res->body;
+ $res->code;
$res->content_encoding;
$res->content_length;
$res->content_type;
Predicate which returns true when a body has been set.
+=head2 $res->code
+
+Alias for $res->status.
+
=head2 $res->content_encoding
Shortcut for $res->headers->content_encoding.
=item secure
+=item httponly
+
=back
=head2 $res->header
Sets or returns the HTTP status.
$c->response->status(404);
+
+$res->code is an alias for this, to match HTTP::Response->code.
=head2 $res->write( $data )