Skip to content

Commit

Permalink
improved get command to autoflush STDOUT
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Aug 7, 2011
1 parent c3f76f5 commit dfcde3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changes
Expand Up @@ -2,6 +2,7 @@ This file documents the revision history for Perl extension Mojolicious.

1.73 2011-08-06 00:00:00
- Made Mojo::UserAgent slightly more efficient.
- Improved get command to autoflush STDOUT.
- Improved documentation.

1.72 2011-08-05 00:00:00
Expand Down
1 change: 1 addition & 0 deletions lib/Mojolicious/Command/Get.pm
Expand Up @@ -137,6 +137,7 @@ sub run {

# Get
my $tx = $ua->build_tx($method, $url, $headers, $content);
STDOUT->autoflush(1);
$tx = $ua->start($tx);

# Error
Expand Down

0 comments on commit dfcde3c

Please sign in to comment.