drbrain / net-http-persistent

Thread-safe persistent connections with Net::HTTP
http://seattlerb.rubyforge.org/net-http-persistent
339 stars 117 forks source link

add digest auth support #111

Closed ThomasSevestre closed 4 years ago

ThomasSevestre commented 5 years ago

This patch relies on net/http/digest_auth

drbrain commented 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

ThomasSevestre commented 4 years ago

I've moved to patron