import p5-WWW-Mechanize-GZip
from DESCR: 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 ok sthen@
This commit is contained in:
parent
6ad090419f
commit
9ae9d5ee37
15
www/p5-WWW-Mechanize-GZip/Makefile
Normal file
15
www/p5-WWW-Mechanize-GZip/Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2013/11/18 16:49:14 merdely Exp $
|
||||
|
||||
COMMENT= tries to fetch webpages with gzip-compression
|
||||
|
||||
MODULES= cpan
|
||||
|
||||
DISTNAME= WWW-Mechanize-GZip-0.12
|
||||
CATEGORIES= www perl5
|
||||
|
||||
# Perl
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
RUN_DEPENDS = www/p5-WWW-Mechanize
|
||||
|
||||
.include <bsd.port.mk>
|
2
www/p5-WWW-Mechanize-GZip/distinfo
Normal file
2
www/p5-WWW-Mechanize-GZip/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (WWW-Mechanize-GZip-0.12.tar.gz) = yOPrQ+JaJyliEvJv0EcY5US3KPcGpOoZYwO+7hZt5Xc=
|
||||
SIZE (WWW-Mechanize-GZip-0.12.tar.gz) = 3040
|
19
www/p5-WWW-Mechanize-GZip/pkg/DESCR
Normal file
19
www/p5-WWW-Mechanize-GZip/pkg/DESCR
Normal file
@ -0,0 +1,19 @@
|
||||
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
|
5
www/p5-WWW-Mechanize-GZip/pkg/PLIST
Normal file
5
www/p5-WWW-Mechanize-GZip/pkg/PLIST
Normal file
@ -0,0 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/11/18 16:49:14 merdely Exp $
|
||||
${P5SITE}/WWW/
|
||||
${P5SITE}/WWW/Mechanize/
|
||||
${P5SITE}/WWW/Mechanize/GZip.pm
|
||||
@man man/man3p/WWW::Mechanize::GZip.3p
|
Loading…
Reference in New Issue
Block a user