From a9dd3e9dd96c52c2d2f0cfd8595b93f08a9717cb Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 28 Sep 2012 10:17:47 -0500 Subject: simplify --- lib/Web/Request.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Web/Request.pm b/lib/Web/Request.pm index d0d90e0..191e4c0 100644 --- a/lib/Web/Request.pm +++ b/lib/Web/Request.pm @@ -178,7 +178,6 @@ has _http_body => ( has _parsed_body => ( traits => ['Hash'], - is => 'ro', isa => 'HashRef', lazy => 1, default => sub { @@ -251,7 +250,7 @@ has content => ( # XXX get Plack::TempBuffer onto CPAN separately, so that this doesn't # always have to be sitting in memory - return $self->_decode($self->_parsed_body->{content}); + return $self->_decode($self->_content); }, ); -- cgit v1.2.3-54-g00ecf