X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FRequest.pm;h=722c8f5338938ec2d58d000de262916902583693;hb=b39b4848e504f57e74c06ea46059aa56351c2a11;hp=099f1de8aaf61586a244167dc41637c4788b11bd;hpb=7e7437987dd389a99e16356af7c63cf672fde67d;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Request.pm b/lib/Catalyst/Request.pm index 099f1de..722c8f5 100644 --- a/lib/Catalyst/Request.pm +++ b/lib/Catalyst/Request.pm @@ -237,8 +237,9 @@ C then C is C. =head2 $req->body -Returns the message body of the request, unless Content-Type is -C or C. +Returns the message body of the request, as returned by L: a string, +unless Content-Type is C, C, or +C, in which case a L object is returned. =head2 $req->body_parameters @@ -675,7 +676,10 @@ sub uri_with { =head2 $req->user Returns the currently logged in user. B, do not call, -this will be removed in version 5.81. +this will be removed in version 5.81. To retrieve the currently authenticated +user, see C<< $c->user >> and C<< $c->user_exists >> in +L. For the C provided by the +webserver, see C<< $req->remote_user >> below. =head2 $req->remote_user