Subject: | CIA changed something so it's not working anymore |
Date: | Thu, 25 Jun 2009 18:55:29 +0200 |
To: | bug-WebService-CIA [...] rt.cpan.org |
From: | Mathieu Feulvarc'h <metabaron [...] metabaron.net> |
First, excuse me for my English, I'm French :)
Since now one week, the lib is not functional anymore, I realized CIA
guys moved the pages or something.
Before, my code was fully functional and now it's not functional anymore.
I downloaded the whole CIA factbook on my server, added
$WebService::CIA::base_url="http://my_server.net/";
and everything went back to normal. when I tried to look at the error
messages, I found that:
my $source=WebService::CIA::Source::Web->new();
print $source->last_response()->status_line;
Returned a 404 error.
When doing
my $source=WebService::CIA::Source::Web->new();
print $source->last_response()->content;
I have
<HEAD><META HTTP-EQUIV="Content-Type"
CONTENT="text/html;charset=ISO-8859-1"><TITLE>Not Found</TITLE></HEAD>
<H1>Not Found</H1> The requested object does not exist on this server.
The link you followed is either outdated, inaccurate, or the server has
been instructed not to let you have it.