From: Charles McGarvey Date: Sun, 12 Mar 2017 02:38:15 +0000 (-0700) Subject: fix documentation errors X-Git-Tag: v0.901~4 X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=43c3c127d1b58b2462aac03aab360f9e3cf9a986;p=chaz%2Fp5-HTTP-AnyUA fix documentation errors --- diff --git a/lib/HTTP/AnyUA/Backend.pm b/lib/HTTP/AnyUA/Backend.pm index 26ccb2d..169a5cf 100644 --- a/lib/HTTP/AnyUA/Backend.pm +++ b/lib/HTTP/AnyUA/Backend.pm @@ -23,7 +23,9 @@ package HTTP::AnyUA::Backend; return $resp; } - ### Non-blocking user agents return responses as Future objects: + ### Non-blocking user agents are expected to return Future objects: + + use Future; sub response_is_future { 1 } @@ -69,8 +71,8 @@ return value to and from its L method. =head1 SEE ALSO =for :list -* L - Explanation of the request arguments -* L - Explanation of the response +* L - Explanation of the request arguments +* L - Explanation of the response =cut diff --git a/lib/HTTP/AnyUA/Backend/Furl.pm b/lib/HTTP/AnyUA/Backend/Furl.pm index b25642f..cb46cf5 100644 --- a/lib/HTTP/AnyUA/Backend/Furl.pm +++ b/lib/HTTP/AnyUA/Backend/Furl.pm @@ -10,8 +10,8 @@ interface provided by L. =for :list * L doesn't keep a list of requests and responses along a redirect chain. As such, the C -field in the response is always the same as the URL of the original request, and the C -field is never used. + field in the response is always the same as the URL of the original request, and the C + field is never used. =head1 SEE ALSO