diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-09-28 10:17:47 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-09-28 10:17:47 -0500 |
commit | a9dd3e9dd96c52c2d2f0cfd8595b93f08a9717cb (patch) | |
tree | 61fdbe0c81aafc63447d7acc10bf0ed8d4af555c | |
parent | d68cf40ff36f9ebb0bfc90ff6b9877a5b0c4803e (diff) | |
download | web-request-a9dd3e9dd96c52c2d2f0cfd8595b93f08a9717cb.tar.gz web-request-a9dd3e9dd96c52c2d2f0cfd8595b93f08a9717cb.zip |
simplify
-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); }, ); |