From: Charles McGarvey Date: Sat, 2 Mar 2019 20:44:55 +0000 (-0700) Subject: fix middleware synopsis X-Git-Tag: v0.902~2 X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=918be01504107763e4febdb4ed74aeda599fd33d;p=chaz%2Fp5-HTTP-AnyUA fix middleware synopsis --- diff --git a/lib/HTTP/AnyUA/Middleware.pm b/lib/HTTP/AnyUA/Middleware.pm index 21b6db8..01dda30 100644 --- a/lib/HTTP/AnyUA/Middleware.pm +++ b/lib/HTTP/AnyUA/Middleware.pm @@ -13,7 +13,7 @@ package HTTP::AnyUA::Middleware; # Maybe do something with the request args here. # Let backend handle the response: - my $response = $self->backend($method, $url, $args); + my $response = $self->backend->request($method, $url, $args); my $handle_response = sub { my $response = shift;