fix middleware synopsis
[chaz/p5-HTTP-AnyUA] / 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.029315 seconds and 4 git commands to generate.