Skip to content

Commit

Permalink
more consistent examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 13, 2013
1 parent c1807ed commit be2f33d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Mojolicious/Guides/Cookbook.pod
Expand Up @@ -822,8 +822,8 @@ This even works for proxy C<CONNECT> requests.

=head2 Content generators

You can use generators to generate the same type of content repeatedly for
multiple requests.
You can use content generators to generate the same type of content repeatedly
for multiple requests.

use Mojo::UserAgent;
use Mojo::Asset::File;
Expand All @@ -835,7 +835,7 @@ multiple requests.
$tx->req->content->asset(Mojo::Asset::File->new(path => $path));
});

# Upload multiple files streaming via PUT and POST
# Send multiple files streaming via PUT and POST
$ua->put('http://mojolicio.us/upload' => stream => '/home/sri/mojo.png');
$ua->post('http://mojolicio.us/upload' => stream => '/home/sri/mango.png');

Expand Down

0 comments on commit be2f33d

Please sign in to comment.