document $c->detach with no args
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Response.pm
index 8d3d880..e99cd85 100644 (file)
@@ -72,15 +72,19 @@ The keys of the hash reference on the right correspond to the L<CGI::Cookie>
 parameters of the same name, except they are used without a leading dash.
 Possible parameters are:
 
-=head2 value
+=over 
 
-=head2 expires
+=item value
 
-=head2 domain
+=item expires
 
-=head2 path
+=item domain
 
-=head2 secure
+=item path
+
+=item secure
+
+=back
 
 =head2 $res->header
 
@@ -110,7 +114,7 @@ sub redirect {
 
     if (@_) {
         my $location = shift;
-        my $status   = shift || 301;
+        my $status   = shift || 302;
 
         $self->location($location);
         $self->status($status);