W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2015

[Bug 837] Support for IPv6

From: <bugzilla@jessica.w3.org>
Date: Thu, 12 Mar 2015 22:33:11 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-837-169-mNJC6p97LK@http.www.w3.org/Bugs/Public/>

Mikael Nordfeldth <mmn@hethane.se> changed:

           What    |Removed                     |Added
                 CC|                            |mmn@hethane.se

--- Comment #12 from Mikael Nordfeldth <mmn@hethane.se> ---
The following URL explains how to add IPv6 support to LWP:

The "best answer", by user cjm, was:

   It looks like you just need to use Net::INET6Glue::INET_is_INET6. To quote
its example:

    use Net::INET6Glue::INET_is_INET6;
    use LWP::Simple;
    print get( 'http://[::1]:80' );
    print get( 'http://ipv6.google.com' );

Another answer, by Ondrej Prochazka, mentions that it might not work with "$ua
= new LWP::UserAgent();", then running ->request on an object created from
"HTTP::Request". I.e. this doesn't work:

   use Net::INET6Glue::INET_is_INET6;
   use LWP::Simple;
   $ua = new LWP::UserAgent();
   my $req = new HTTP::Request("GET", "http://[::1]/");
   my $res = $ua->request($req);

Do these hints help in any way to adapt the validator script to support IPv6
web sources?

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 12 March 2015 22:33:15 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 12 March 2015 22:33:15 UTC