ports/www/p5-HTTP-Response-Encoding/pkg-descr
Sunpoet Po-Chuan Hsieh ad4f267b7a Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
2018-05-27 20:15:16 +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: https://metacpan.org/release/HTTP-Response-Encoding