Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
documentation tweaks
  • Loading branch information
kraih committed Nov 23, 2012
1 parent 6112d18 commit 1e5af14
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions Changes
@@ -1,5 +1,6 @@

3.61 2012-11-23
- Improved documentation.
- Improved tests.

3.60 2012-11-22
Expand Down
5 changes: 2 additions & 3 deletions lib/Mojo/Message.pm
Expand Up @@ -129,8 +129,7 @@ sub finish {
sub fix_headers {
my $self = shift;

# Content-Length header or connection close is required unless the chunked
# transfer encoding is used
# Content-Length or Connection (unless chunked transfer encoding is used)
return $self if $self->{fix}++ || $self->is_chunked;
my $headers = $self->headers;
$self->is_dynamic
Expand Down Expand Up @@ -593,7 +592,7 @@ Finish message parser/generator.
$msg = $msg->fix_headers;
Make sure message has all required headers for the current HTTP version.
Make sure message has all required headers.
=head2 C<get_body_chunk>
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Message/Request.pm
Expand Up @@ -365,7 +365,7 @@ Extract request line from string.
$req = $req->fix_headers;
Make sure request has all required headers for the current HTTP version.
Make sure request has all required headers.
=head2 C<get_start_line_chunk>
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Message/Response.pm
Expand Up @@ -226,7 +226,7 @@ Extract status line from string.
$res = $res->fix_headers;
Make sure response has all required headers for the current HTTP version.
Make sure response has all required headers.
=head2 C<get_start_line_chunk>
Expand Down

0 comments on commit 1e5af14

Please sign in to comment.