X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst.pm;h=d3870990775415d9311e9afd9e9089a324a66016;hb=0f56bbcf00b69a018aa6be442200b917b3e9f9a2;hp=a1fc1fbf97363438e6e04fa675c13924f2f15078;hpb=d91474f509dab7dce4c3e4328e674ab9fea29284;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index a1fc1fb..d387099 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -1747,9 +1747,7 @@ Prepares message body. sub prepare_body { my $c = shift; - #Moose TODO: what is _body ?? - # Do we run for the first time? - return if defined $c->request->{_body}; + return if $c->request->_has_body; # Initialize on-demand data $c->engine->prepare_body( $c, @_ );