Skip Menu |

This queue is for tickets about the File-Fetch CPAN distribution.

Report information
The Basics
Id: 6526
Status: resolved
Priority: 0/
Queue: File-Fetch

People
Owner: Nobody in particular
Requestors: perl [...] crystalflame.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



To: bug-File-Fetch [...] rt.cpan.org
From: Richard Soderberg <perl [...] crystalflame.net>
Subject: LWP error reporting enhancement
Date: Sun, 6 Jun 2004 07:08:05 -0700
As requested, improves LWP diagnostic capability; see also [cpan #6525]. - R. --- lib/File/Fetch.pm Sat May 22 05:39:58 2004 +++ /tmp/p Sun Jun 6 07:06:56 2004 @@ -302,8 +302,9 @@ return $to; } else { - warn "Fetch failed! HTTP response code: '". $res->code ."' [". - HTTP::Status::status_message($res->code). "]\n"; + warn "Fetch failed! HTTP response: " . $res->code . + " " . HTTP::Status::status_message($res->code) . + " [". $res->status_line . "]\n"; return; }
Thanks, applied and released as 0.03 (with a few other features)