-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
Orientation
While debugging something else, we've found in our internal BeBanjo's logging system a series of duplicated API requests: one authorized, and another one unauthorized. After digging a bit on this, we've found this problem comes from the Almodovar gem.
How to reproduce
By simply running this snippet locally…
require "almodovar"
auth = Almodovar::DigestAuth.new("realm", "user", "password")
movida = Almodovar::Resource("https://staging-movida.bebanjo.net/api", auth)
movida.titles(external_id: "wadus").first
…we can find duplicated requests in our logs for each call to the API:
This happens with other actions, non-only with GET
requests.