- From: <bugzilla@jessica.w3.org>
- Date: Thu, 12 Mar 2015 22:33:11 +0000
- To: www-validator-cvs@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=837 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: https://stackoverflow.com/questions/2215049/how-do-i-enable-ipv6-support-in-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