Subject: | small problem with missing authenticate header (includes patch) |
Date: | Sat, 03 Nov 2007 11:21:07 -0700 |
To: | bug-ParallelUserAgent [...] rt.cpan.org |
From: | Tani Hosokawa <tani [...] tanihosokawa.org> |
You can't call $response->header without any arguments, as it croaks.
--- LWP/Parallel/UserAgent.pm.old 2007-11-03 10:17:02.000000000 -0800
+++ LWP/Parallel/UserAgent.pm 2007-11-03 10:15:01.000000000 -0800
@@ -1298,7 +1298,7 @@
unless (@challenge) {
$response->header("Client-Warning" =>
"Missing Authenticate header");
- LWP::Debug::trace("<- ($response
[".$response->header.'] )');
+ #LWP::Debug::trace("<- ($response
[".$response->header.'] )');
return $response;
}