From cd65b24e131df42c477280c3d0f21d662ee6c8d0 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Thu, 25 Jun 2009 18:07:55 +0200 Subject: POD --- lib/MooseX/UserAgent.pm | 2 ++ lib/MooseX/UserAgent/Async.pm | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/lib/MooseX/UserAgent.pm b/lib/MooseX/UserAgent.pm index f6dd895..2e1b2f2 100644 --- a/lib/MooseX/UserAgent.pm +++ b/lib/MooseX/UserAgent.pm @@ -115,6 +115,8 @@ protocol. If there is a cache configuration, the url will be checked in the cache, and if there is a match, a 304 HTTP code will be returned. +Return a HTTP::Response object. + =item B This method will return a content in utf8. diff --git a/lib/MooseX/UserAgent/Async.pm b/lib/MooseX/UserAgent/Async.pm index 0e5ca16..731a65b 100644 --- a/lib/MooseX/UserAgent/Async.pm +++ b/lib/MooseX/UserAgent/Async.pm @@ -64,6 +64,23 @@ RTGI::Role::UserAgent::Async - Fetch an url using AnyEvent::HTTP =head1 DESCRIPTION +=head2 METHODS + +=over 4 + +=item B + +This method will fetch a given URL. This method handle only the http +protocol. + +If there is a cache configuration, the url will be checked in the cache, +and if there is a match, a 304 HTTP code will be returned. + +Return a HTTP::Response object. This headers are different from a +HTTP::Response from LWP::UserAgent. + +=back + =head1 BUGS AND LIMITATIONS =head1 AUTHOR -- cgit 1.4.1