Manual Reference Pages - URI::FETCH::RESPONSE (3)
URI::Fetch::Response - Feed response for URI::Fetch
my $res = URI::Fetch->fetch(http://example.com/atom.xml)
or die URI::Fetch->errstr;
URI::Fetch::Response encapsulates the response from fetching a feed
The contents of the feed.
The URI of the feed. If the feed was moved, this reflects the new URI;
otherwise, it will match the URI that you passed to fetch.
The ETag that was returned in the response, if any.
The Last-Modified date (in seconds since the epoch) that was returned in
the response, if any.
The status of the response, which will match one of the following
The HTTP status code from the response.
The HTTP::Response object returned from the fetch.
Wrappers around the $res->response methods of the same name, for
<B>Note:B> there is one difference from the behaviour of HTTP::Response.
If you are using a cache and get a 304 response, but the data is retrieved
from the cache, then is_success will return true,
because res->content is usable.
The Content-Type header from the response.
AUTHOR & COPYRIGHT
Please see the URI::Fetch manpage for author, copyright, and license
|perl v5.20.3 ||URI::FETCH::RESPONSE (3) ||2015-07-04 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.