Add a paragraph to summarize the motivation for releases since 5.815
[libwww-perl-eserte.git] / t / local / autoload-get.t
blob5e9f2e68a7eddbf4c30b9c169c717a5ebd8ab6c1
2 # See if autoloading of protocol schemes work
5 print "1..1\n";
7 require LWP::UserAgent;
8 # note no LWP::Protocol::file;
10 $url = "file:.";
12 require URI;
13 print "Trying to fetch '" . URI->new($url)->file . "'\n";
15 my $ua = new LWP::UserAgent;    # create a useragent to test
16 $ua->timeout(30);               # timeout in seconds
18 my $response = $ua->get($url);
19 if ($response->is_success) {
20     print "ok 1\n";
21     print $response->as_string;
23 else {
24     print "not ok 1\n";
25     print $response->error_as_HTML;