Link checker: Allow configurable User Agent string
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 26 Sep 2012 21:35:05 +0000 (17:35 -0400)
committerMike Rylander <mrylander@gmail.com>
Thu, 14 Feb 2013 19:19:17 +0000 (14:19 -0500)
commit2ef32ae20b71628bc6b913c3df70260223426629
tree04774744a001aa12a943ecbe0372c6cf0ee8d61d
parent6801cd2653aae17da606441a1d64fa7723faed4f
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>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/examples/opensrf.xml.example
Open-ILS/src/perlmods/lib/OpenILS/Application/URLVerify.pm