Skip to content

Commit

Permalink
added a few examples to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jul 31, 2013
1 parent 2cf0a80 commit b25c38e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Mojo/Headers.pm
Expand Up @@ -454,6 +454,8 @@ Shortcut for the C<Location> header.
Return a list of all currently defined headers.
say for @{$headers->names};
=head2 origin
my $origin = $headers->origin;
Expand Down
2 changes: 2 additions & 0 deletions lib/Mojo/Transaction.pm
Expand Up @@ -258,6 +258,8 @@ Resume transaction.
Return a list of all previous transactions that preceded this followup
transaction.
say $_->req->url for @{$tx->redirects};
=head2 remote_address
my $address = $tx->remote_address;
Expand Down

0 comments on commit b25c38e

Please sign in to comment.