Closed thommay closed 7 years ago
Maybe I'm misunderstanding how omnifetch works, but I don't see any authentication in here?
Ahh, I think I see, ChefDK is passing in a concrete HTTP client object with the auth header already configured.
Yeah, the http object gets the auth and is DI'd in here.
And yes, there is definitely enough reuse that we can think about pushing some bits down in to the base class.
Signed-off-by: Thom May thom@chef.io