Skip to content

Commit

Permalink
Reset request body before each request
Browse files Browse the repository at this point in the history
  • Loading branch information
Tadeusz Sośnierz committed Jan 19, 2014
1 parent b1fd1c2 commit 9472440
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/HTTP/Easy.pm6
Expand Up @@ -108,6 +108,7 @@ method run
}
}

$!body = Any;
if %.env.exists('CONTENT_LENGTH')
{ ## Use CONTENT_LENGTH to determine the length of data to read.
if %.env<CONTENT_LENGTH>
Expand Down

0 comments on commit 9472440

Please sign in to comment.