Tis file documents the revision history for Perl extension Catalyst.
5.5
+ - Removed $c->req->user accessor
- Added $c->controller, $c->model and $c->view shortcuts
- Switched to Text::SimpleTable
__PACKAGE__->mk_accessors(
qw/action address arguments cookies headers match method
- protocol query_parameters secure snippets uri user/
+ protocol query_parameters secure snippets uri/
);
*args = \&arguments;
$req->upload;
$req->uploads;
$req->uri;
- $req->user;
$req->user_agent;
See also L<Catalyst>.
sub base {
my ( $self, $base ) = @_;
-
+
return $self->{base} unless $base;
-
+
$self->{base} = $base;
-
+
# set the value in path for backwards-compat
if ( $self->uri ) {
$self->path;
}
-
+
return $self->{base};
}
Returns a URI object for the request.
-=item $req->user
-
-Contains the user name of user if authentication check was successful.
-
=item $req->user_agent
Shortcut to $req->headers->user_agent. User Agent version string.