Link checker: Allow configurable User Agent string
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 26 Sep 2012 21:35:05 +0000 (17:35 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 21 Jan 2013 21:45:53 +0000 (16:45 -0500)
commit93becd649c478ec26336bc965c8ffa066c17a953
treec5671d9cb7ab3a75eda898a23f10f6a277b0439d
parent51da168a05515a61df54aee9234cef524549ec29
Link checker: Allow configurable User Agent string

Credit to Bill Erickson for noticing that tests were resulting in an
inordinate number of 403 Forbidden responses, which turned out to be
due to discrimination by sites against a libwww/* user agent string.

We now use "Evergreen <version> Link Checker" by default, and it's
configurable in opensrf.xml (grep for user_agent).

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/examples/opensrf.xml.example
Open-ILS/src/perlmods/lib/OpenILS/Application/URLVerify.pm