Skip to content

Commit

Permalink
use example with multiple custom headers for get command
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 27, 2014
1 parent 84d588a commit 0cfbe55
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Changes
@@ -1,4 +1,6 @@

4.71 2014-01-27

4.70 2014-01-26
- Added extract_usage method to Mojolicious::Command.
- Added unindent method to Mojo::ByteStream.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious.pm
Expand Up @@ -43,7 +43,7 @@ has types => sub { Mojolicious::Types->new };
has validator => sub { Mojolicious::Validator->new };

our $CODENAME = 'Top Hat';
our $VERSION = '4.70';
our $VERSION = '4.71';

sub AUTOLOAD {
my $self = shift;
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Command/get.pm
Expand Up @@ -134,8 +134,8 @@ Mojolicious::Command::get - Get command
./myapp.pl get /
mojo get mojolicio.us
mojo get -v -r google.com
mojo get -v -H 'Host: mojolicious.org' -H 'DNT: 1' mojolicio.us
mojo get -M POST -c 'trololo' mojolicio.us
mojo get -H 'X-Bender: Bite my shiny metal ass!' mojolicio.us
mojo get mojolicio.us 'head > title' text
mojo get mojolicio.us .footer all
mojo get mojolicio.us a attr href
Expand Down

0 comments on commit 0cfbe55

Please sign in to comment.