Open ronaldtse opened 1 month ago
Add an adapter?
The Serrano gem supports the content negotiation API.
@ronaldtse as I see Content Negotiation is just a way to specify response format, not a separate API.
I implemented polite API with request retrying and using X-Rate-Limit-Interval
. It seems that Serrano doesn't use the X-Rate-Limit-Interval
to retry failed requests and doesn't provide headers to get X-Rate-Limit-Interval
.
So I give up Serrano and moved to Faraday.
Perhaps we should switch to the "Content negotiation API", it seems more stable:
Originally posted by @ronaldtse in https://github.com/relaton/relaton-doi/issues/18#issuecomment-2141160145