freebsd-ports/www/p5-HTTP-Response-Encoding/pkg-descr
Yen-Ming Lee 18bc4cb5a3 - fix dependency to build on perl 5.7.3 - 5.8.5
- add more descriptions
- bump PORTREVISION

PR:		128438
Submitted by:	leeym
Approved by:	maintainer
2008-10-29 01:21:23 +00:00

22 lines
591 B
Text

This module adds the following methods to HTTP::Response objects.
$res->charset
Tells the charset exactly as appears in the Content-Type: header. Note that
the presence of the charset does not guarantee if the response content is
decodable via Encode.
$res->encoder
Returns the corresponding encoder object or undef if it can't.
$res->encoding
Tells the content encoding in the canonical name in Encode. Returns undef
if it can't.
$res->decoded_content
Discontinued since HTTP::Message already has this method.
WWW: http://search.cpan.org/dist/HTTP-Response-Encoding/