]> Dogcows Code - chaz/p5-HTTP-AnyUA/commitdiff
fix middleware synopsis
authorCharles McGarvey <chazmcgarvey@brokenzipper.com>
Sat, 2 Mar 2019 20:44:55 +0000 (13:44 -0700)
committerCharles McGarvey <chazmcgarvey@brokenzipper.com>
Sat, 2 Mar 2019 20:44:55 +0000 (13:44 -0700)
lib/HTTP/AnyUA/Middleware.pm

index 21b6db8a631be64c8217befd3179fd2be2776bde..01dda30c434d0eaecf13b33ba0e16b0bc0453699 100644 (file)
@@ -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;
This page took 0.023436 seconds and 4 git commands to generate.