FreeBSD.software
Home/www/p5-HTTP-Response-Encoding

p5-HTTP-Response-Encoding

0.06_3

Adds encoding() to HTTP::Response

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.

Origin: www/p5-HTTP-Response-Encoding
Category: www
Size: 13.2KiB
License: ART10, GPLv1+
Maintainer: perl@FreeBSD.org
Dependencies: 3 packages
Required by: 1 packages
$pkg install p5-HTTP-Response-Encoding

Dependencies (3)

Required By (1 packages)

More in www