diff options
-rw-r--r-- | lib/Web/Request.pm | 3 |
1 files changed, 1 insertions, 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); }, ); |