summaryrefslogtreecommitdiffstats
path: root/t/path_info_escaped.t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-07-20 03:40:00 -0500
committerJesse Luehrs <doy@tozt.net>2012-07-20 03:43:27 -0500
commit69b58eba5bc8a01e27c74d6d2346738fdf9f8eb5 (patch)
tree6b1b9ed4364259acab91e54194beb8db54ade5ab /t/path_info_escaped.t
parentd5eab12edd13a722b557dcaf4fc5866a12d736d6 (diff)
downloadweb-request-69b58eba5bc8a01e27c74d6d2346738fdf9f8eb5.tar.gz
web-request-69b58eba5bc8a01e27c74d6d2346738fdf9f8eb5.zip
rename ->body to ->content on ::Response
Diffstat (limited to 't/path_info_escaped.t')
-rw-r--r--t/path_info_escaped.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/path_info_escaped.t b/t/path_info_escaped.t
index 28e712c..3bd4f62 100644
--- a/t/path_info_escaped.t
+++ b/t/path_info_escaped.t
@@ -12,7 +12,7 @@ my $path_app = sub {
my $req = Web::Request->new_from_env(shift);
my $res = $req->new_response(status => 200);
$res->content_type('text/plain');
- $res->body('my ' . Dumper([ $req->uri, $req->parameters ]));
+ $res->content('my ' . Dumper([ $req->uri, $req->parameters ]));
return $res->finalize;
};