Skip to content

Commit

Permalink
better description for default_charset
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 12, 2015
1 parent 2a6dafc commit f5741ec
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/Mojo/Message.pm
Expand Up @@ -372,8 +372,9 @@ Message content, defaults to a L<Mojo::Content::Single> object.
my $charset = $msg->default_charset;
$msg = $msg->default_charset('UTF-8');
Default charset used by L</"text"> and for form-data parsing, defaults to
C<UTF-8>.
Default charset used by L</"text"> and to extract data from
C<application/x-www-form-urlencoded> or C<multipart/form-data> message body,
defaults to C<UTF-8>.
=head2 max_line_size
Expand Down Expand Up @@ -576,6 +577,9 @@ Size of headers in bytes.
Message headers, usually a L<Mojo::Headers> object.
# Longer version
my $headers = $msg->content->headers;
=head2 is_finished
my $bool = $msg->is_finished;
Expand Down

0 comments on commit f5741ec

Please sign in to comment.