Closed ThomasSevestre closed 4 years ago
Your check doesn't take into account host, path, or realm when choosing the correct credentials to submit.
net-http-persistent is designed to be used across multiple servers so this would cause problems.
You may be interested in Mechanize which adds features atop net-http-persistent and supports digest auth per-URI
I've moved to patron
This patch relies on net/http/digest_auth