Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed a few typos
  • Loading branch information
kraih committed Feb 15, 2013
1 parent 7f9b63f commit 75d27a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/Mojo/UserAgent/Transactor.pm
Expand Up @@ -289,10 +289,10 @@ Mojo::UserAgent::Transactor - User agent transactor
say $t->tx(PATCH => 'mojolicio.us' => {DNT => 1} => 'Hi!')->req->to_string;
# POST request with form data
say $t->tx(POST => 'http://kraih.com' => form => {a => 'b')->req->to_string;
say $t->tx(POST => 'kraih.com' => form => {a => 'b'})->req->to_string;
# PUT request with JSON data
say $t->tx(PUT => 'http://kraih.com' => json => {a => 'b')->req->to_string;
say $t->tx(PUT => 'http://kraih.com' => json => {a => 'b'})->req->to_string;
=head1 DESCRIPTION
Expand Down
4 changes: 2 additions & 2 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 content generators to generate the same type of content repeatedly
for multiple requests.
Generators can be used to generate the same type of content repeatedly for
multiple requests.

use Mojo::UserAgent;
use Mojo::Asset::File;
Expand Down

0 comments on commit 75d27a4

Please sign in to comment.