Skip to content

Commit

Permalink
more Mojo::Message::Request examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 29, 2013
1 parent 09a82be commit 57dec85
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/Mojo/Message/Request.pm
Expand Up @@ -326,8 +326,10 @@ HTTP request method, defaults to C<GET>.
HTTP request URL, defaults to a L<Mojo::URL> object.
# Get request path
say $req->url->path;
# Get request information
say $req->url->to_abs->userinfo;
say $req->url->to_abs->host;
say $req->url->to_abs->path;
=head1 METHODS
Expand Down

0 comments on commit 57dec85

Please sign in to comment.