Skip Menu |

This queue is for tickets about the Test-Pod-No404s CPAN distribution.

Report information
The Basics
Id: 119553
Status: new
Priority: 0/
Queue: Test-Pod-No404s

People
Owner: Nobody in particular
Requestors: VDB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.02
Fixed in: (no value)



Subject: User agent
It would be nice if test has an option to specify user agent. The test complains on https://creativecommons.org/licenses/by/3.0/ — attempt to get head returns "403 Forbidden". I found that respond also contains the text: The owner of this website (creativecommons.org) has banned your access based on your browser's signature (318837a559384f4a-ua22). The problem can be easily workarounded by replacing the line my $ua = LWP::UserAgent->new(); with my $ua = LWP::UserAgent->new( agent => 'Mozilla/5.0' ); or even with my $ua = LWP::UserAgent->new( agent => '' ); I have no idea why site owners has banned libwww-perl...