opnsense-ports/www/p5-HTTP-Response-Encoding/pkg-descr
Franco Fichtner 8fd0623a7c */*: sync with upstream
Taken from: HardenedBSD
2018-05-28 08:06:42 +02: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