Vlad Safronov <[EMAIL PROTECTED]> writes:

>     my $uri = $response->base;
>     print "real: " , $uri->as_string , "\n"; # will print "index.html"
>     print "host: " , $uri->host() , "\n";

Well, the URI 'index.html' does not have a host component, so it's not
a bug to tell you this.

Try creating the URI with an explicit base:

  my $uri = URI->new_abs($response->base, 'http://www.iis.ru/');

Hans

Reply via email to