Bug 32995: Pass user agent string for OverDrive fulfillment
authorNick Clemens <nick@bywatersolutions.com>
Fri, 17 Feb 2023 13:01:02 +0000 (13:01 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 15 Jun 2023 19:25:57 +0000 (19:25 +0000)
commitbee530b8d451fbe9b26bee146bc30d40e6b20383
tree56603c9e31b684508ab15e56a59567b3c327af3c
parente31c60109ef48366637c9129d13289ab3d27a6a5
Bug 32995: Pass user agent string for OverDrive fulfillment

This patch simply adds the string Koha/VERSION to the fulfillment
request

TO test:
1 - Have OverDrive credentials for testing
2 - Enable all the overdrive options in system preferences
3 - Sign in to opac with an overdrive user and verify you can checkout
  and download titles
4 - Sign off

Signed-off-by: Magnus Enger <magnus@libriotech.no>
Not tested with OverDrive, but change looks harmless enough.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit d27a3419cce0da8c90d3f57d54d6cf669001f210)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
(cherry picked from commit 0e086450109133ac00cbabf4874965b4f4f0216f)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/ExternalContent/OverDrive.pm