Closed jdeerin1 closed 2 years ago
Hi, I know this is really old. I am now a committer/owner of this project. Are you still interested in this, @jdeerin1 ?
We don't have a clean way to navigate the various faraday dependencies here, but the installing application can configure a faraday client to handle this according to its needs. This has been documented in the README in https://github.com/code4lib/ruby-oai/commit/b75b61afc5fa9f8e3881748119077a688d25678f (now in the default branch).
If client.get receives a 503, it will retry 3 times before giving up, and throw an exception that indicates what happened. If a failure status code other than 503 is received, it just throws the exception indicating that. The previous behavior if a 503 or other error code was received was to return and empty result without any error message.