blob: 1fbdd7cb5371389b66bf3467d3f218a43032897a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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.
|