From 135fc3740486634a99bb12d8673afbf6d21516bc Mon Sep 17 00:00:00 2001 From: Eric Wastl Date: Sat, 30 Oct 2021 18:47:37 -0400 Subject: [PATCH] Update Message.pm --- lib/HTTP/Message.pm | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/HTTP/Message.pm b/lib/HTTP/Message.pm index f65b6d3e..ac5829d5 100644 --- a/lib/HTTP/Message.pm +++ b/lib/HTTP/Message.pm @@ -898,9 +898,14 @@ for details about how charset is determined. =item $mess->decoded_content( %options ) -Returns the content with any C undone and for textual content -the raw content encoded to Perl's Unicode strings. If the C -or C of the message is unknown this method will fail by returning +Returns the content with any C undone and, for textual content +(C values starting with C, exactly matching +C, or ending with C<+xml>), the raw content's character set +decoded into Perl's Unicode string format. Note that this +L +attempt to decode declared character sets for any other content types like +C or C. If the C +or C of the message is unknown, this method will fail by returning C. The following options can be specified.