The OAI-PMH harvester guidelines specify that harversters should supply HTTP User-Agent and From headers. It seems like it might be theoretically possible to do this by passing a preconfigured Faraday instance when initializing the client, but it's far from obvious how to do that (I've just spent a fruitless half-hour Googling). Given that it's there in the guidelines, it would be nice if ruby-oai provided a simple way to do it out of the box.
The OAI-PMH harvester guidelines specify that harversters should supply HTTP
User-Agent
andFrom
headers. It seems like it might be theoretically possible to do this by passing a preconfigured Faraday instance when initializing the client, but it's far from obvious how to do that (I've just spent a fruitless half-hour Googling). Given that it's there in the guidelines, it would be nice if ruby-oai provided a simple way to do it out of the box.