Skip Menu |

This queue is for tickets about the URI-Fetch CPAN distribution.

Report information
The Basics
Id: 16747
Status: resolved
Priority: 0/
Queue: URI-Fetch

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

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



Subject: User Agent
$ua->agent shouldn't be hard-coded. I need to supply my own identifier, so URI::Fetch should either have a UserAgentName parameter or do something like this: unless ($ua) { $ua = LWP::UserAgent->new; $ua->agent(join '/', $class, $class->VERSION); }
This was fixed in version 0.08: - Don't overwrite the User-Agent field if the caller has set it and provided the UserAgent argument. Thanks to Tatsuhiko Miyagawa for the patch. Thanks!