Placester/ruby-rets — pull request #6 by ptrippett (2012-04-29 21:30:44+00:00)
Title: Fix bug in Authentication Mode selection

Solid Earth returns authorization headers for both Basic and Digest auth, however it returns Digest first and basic last causing basic to always be used. This patch adds a check to Basic auth selection to only be set if Digest has not been found in the header.