Subject: | tests failing w/ Google redirects |
Howdy,
The tests for WWW::Mechanize will fail for people in Canada because any request to google.com is automagically redirected to google.ca. Presumably this is same anywhere that Google redirects users to a country-specific site.
I first noticed this when I added $res->code() and $res->message to click.t which returned the following :
t/click.........NOK 4# Failed test (t/click.t at line 14)
Can't even fetch google302:Found
If I change the URI to "google.ca" everything works fine, but then the next test to call "google.com" fails.
I'm not sure what the elegant solution is but I figured I would bring the problem to your attention.