WWW::Mechanize::GZip man page on Fedora

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

WWW::Mechanize::GZip(3User Contributed Perl DocumentatiWWW::Mechanize::GZip(3)

NAME
       WWW::Mechanize::GZip - tries to fetch webpages with gzip-compression

VERSION
       Version 0.10

SYNOPSIS
	   use WWW::Mechanize::GZip;

	   my $mech = WWW::Mechanize::GZip->new();
	   my $response = $mech->get( $url );

	   print "x-content-length (before unzip) = ", $response->header('x-content-length');
	   print "content-length (after unzip) = ", $response->header('content-length');

DESCRIPTION
       The WWW::Mechanize::GZip module tries to fetch a URL by requesting
       gzip-compression from the webserver.

       If the response contains a header with 'Content-Encoding: gzip', it
       decompresses the response in order to get the original (uncompressed)
       content.

       This module will help to reduce bandwith fetching webpages, if
       supported by the webeserver. If the webserver does not support gzip-
       compression, no decompression will be made.

       This modules is a direct subclass of WWW::Mechanize and will therefore
       support any methods provided by WWW::Mechanize.

       The decompression is handled by Compress::Zlib::memGunzip.

       There is a small webform, you can instantly test, whether a webserver
       supports gzip-compression on a particular URL:
       http://www.computerhandlung.de/www-mechanize-gzip.htm
       <http://www.computerhandlung.de/www-mechanize-gzip.htm>

   METHODS
       prepare_request
	 Adds 'Accept-Encoding' => 'gzip' to outgoing HTTP-headers before
	 sending.

       send_request
	 Unzips response-body if 'content-encoding' is 'gzip' and corrects
	 'content-length' to unzipped content-length.

SEE ALSO
       WWW::Mechanize

       Compress::Zlib

AUTHOR
       Peter Giessner "cardb@planet-elektronik.de"

LICENCE AND COPYRIGHT
       Copyright (c) 2007, Peter Giessner "cardb@planet-elektronik.de".	 All
       rights reserved.

       This module is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

perl v5.14.1			  2009-06-24	       WWW::Mechanize::GZip(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