File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Revision history for HTTP-Message
22
3- {{$NEXT}}
3+ 6.35 2021-11-11 22:10:31Z
44 - Clarify documentation for decoded_content (GH#166) (Eric Wastl)
55
666.34 2021-11-08 14:27:36Z
Original file line number Diff line number Diff line change 108108 "x_IRC" : " irc://irc.perl.org/#lwp" ,
109109 "x_MailingList" : " mailto:libwww@perl.org"
110110 },
111- "version" : " 6.34 " ,
111+ "version" : " 6.35 " ,
112112 "x_Dist_Zilla" : {
113113 "perl" : {
114114 "version" : " 5.030002"
615615 "branch" : null ,
616616 "changelog" : " Changes" ,
617617 "signed" : 0 ,
618- "tag" : " v6.34 " ,
618+ "tag" : " v6.35 " ,
619619 "tag_format" : " v%V" ,
620620 "tag_message" : " v%V"
621621 },
827827 " DAVIDRW <davidrw@cpan.org>" ,
828828 " David Steinbrunner <dsteinbrunner@MountainBook-Pro.local>" ,
829829 " Dorian Taylor <dorian.taylor.lists@gmail.com>" ,
830+ " Eric Wastl <topaz.github@lt3.us>" ,
830831 " Father Chrysostomos <sprout@cpan.org>" ,
831832 " Felipe Gasper <felipe@felipegasper.com>" ,
832833 " FWILES <FWILES@cpan.org>" ,
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ HTTP::Message - HTTP style message (base class)
44
55# VERSION
66
7- version 6.34
7+ version 6.35
88
99# SYNOPSIS
1010
@@ -101,9 +101,14 @@ The following methods are available:
101101
102102- $mess->decoded\_ content( %options )
103103
104- Returns the content with any ` Content-Encoding ` undone and for textual content
105- the raw content encoded to Perl's Unicode strings. If the ` Content-Encoding `
106- or ` charset ` of the message is unknown this method will fail by returning
104+ Returns the content with any ` Content-Encoding ` undone and, for textual content
105+ (` Content-Type ` values starting with ` text/ ` , exactly matching
106+ ` application/xml ` , or ending with ` +xml ` ), the raw content's character set
107+ decoded into Perl's Unicode string format. Note that this
108+ [ does not currently] ( https://github.com/libwww-perl/HTTP-Message/pull/99 )
109+ attempt to decode declared character sets for any other content types like
110+ ` application/json ` or ` application/javascript ` . If the ` Content-Encoding `
111+ or ` charset ` of the message is unknown, this method will fail by returning
107112 ` undef ` .
108113
109114 The following options can be specified.
You can’t perform that action at this time.
0 commit comments