May 26, 2018

Adds encoding() to HTTP::Response

This module adds the following methods to HTTPResponse objects.


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.


Returns the corresponding encoder object or undef if it can’t.


Tells the content encoding in the canonical name in Encode. Returns undef if it can’t.


Discontinued since HTTPMessage already has this method.

WWW http//