raku-community-modules / LWP-Simple

LWP::Simple quick & dirty implementation for Rakudo
http://www.streppone.it/cosimo/blog/tag/LWP::Simple/
Artistic License 2.0
7 stars 9 forks source link

Tests rely on w3c.org and jigsaw.org not redirecting to https #26

Closed dwarring closed 5 years ago

dwarring commented 6 years ago

Just to point out that there are tests in t/getstore.t t/get-w3-latin1-utf8.t that will fail if http://w3c.org ever start redirecting to https: and the optional IO::Socket::SSL module is not installed.

Likewise, get-w3-redirect.t relies on a non https redirection from http://jigsaw.w3.org/HTTP/300/301.html.

Is this safe? Is there a better solution?

JJ commented 5 years ago

Yep, that happens pretty much everywhere... I don't think there's a better solution, unless you suggest one.

Scimon commented 5 years ago

I could look at updating them to use my test http server.

JJ commented 5 years ago

@Scimon that might be a good and maybe permanent solution :-)