Permalink
Browse files

Adjusting for debugging.

  • Loading branch information...
1 parent f4d84a7 commit 8eabf944623c20fa2d6bc0dc476d118c0cd04fc2 Timothy Totten committed Mar 26, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/HTTP/Easy.pm6
View
@@ -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;

0 comments on commit 8eabf94

Please sign in to comment.