URI::Fetch::Response man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

URI::Fetch::Response(3User Contributed Perl DocumentatiURI::Fetch::Response(3)

NAME
       URI::Fetch::Response - Feed response for URI::Fetch

SYNOPSIS
	   use URI::Fetch;
	   my $res = URI::Fetch->fetch('http://example.com/atom.xml')
	       or die URI::Fetch->errstr;
	   print $res->content;

DESCRIPTION
       URI::Fetch::Response encapsulates the response from fetching a feed
       using URI::Fetch.

USAGE
   $res->content
       The contents of the feed.

   $res->uri
       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.

   $res->etag
       The ETag that was returned in the response, if any.

   $res->last_modified
       The Last-Modified date (in seconds since the epoch) that was returned
       in the response, if any.

   $res->status
       The status of the response, which will match one of the following
       enumerations:

       ·   URI::Fetch::URI_OK()

       ·   URI::Fetch::URI_MOVED_PERMANENTLY()

       ·   URI::Fetch::URI_GONE()

       ·   URI::Fetch::URI_NOT_MODIFIED()

   $res->http_status
       The HTTP status code from the response.

   $res->http_response
       The HTTP::Response object returned from the fetch.

   $res->is_success
   $res->is_redirect
   $res->is_error
       Wrappers around the "$res->response" methods of the same name, for
       convenience.

   $res->content_type
       The Content-Type header from the response.

AUTHOR & COPYRIGHT
       Please see the URI::Fetch manpage for author, copyright, and license
       information.

perl v5.14.1			  2011-01-28	       URI::Fetch::Response(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net