Skip to content

Commit

Permalink
Adjusting for debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy Totten committed Mar 26, 2013
1 parent f4d84a7 commit 8eabf94
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/HTTP/Easy.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,12 @@ method run
## This is temporary workaound
# Second get is needed looks like bug in rakudo.
# We just go along with that
$preamble ~= $!connection.get;

if $.debug
{
message("Read preamble:\n\n$preamble\n\n--- End of preamble.");
message("Read preamble:\n$preamble\n--- End of preamble.");
}
$preamble ~= $!connection.get;
## End of work around.
my @headers = $preamble.split("\r\n");
my $request = @headers.shift;
Expand Down

0 comments on commit 8eabf94

Please sign in to comment.