Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed typo in streaming recipe
  • Loading branch information
kraih committed Jun 15, 2013
1 parent e28d1fe commit 0391693
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Mojolicious/Guides/Rendering.pod
Expand Up @@ -842,10 +842,10 @@ C<after_render>.
=head2 Chunked transfer encoding

For very dynamic content you might not know the response content length in
advance, that's where L<Mojolicious::Controller/"write_chunk"> and the
C<chunked> transfer encoding comes in handy. A common use would be to send the
C<head> section of an HTML document to the browser in advance and speed up
preloading of referenced images and stylesheets.
advance, that's where the C<chunked> transfer encoding and
L<Mojolicious::Controller/"write_chunk"> come in handy. A common use would be
to send the C<head> section of an HTML document to the browser in advance and
speed up preloading of referenced images and stylesheets.

$self->write_chunk('<html><head><title>Example</title></head>' => sub {
my $self = shift;
Expand Down

0 comments on commit 0391693

Please sign in to comment.