estately/rets — pull request #21 by tdtran (2012-08-02 19:11:14+00:00)
Title: Catch and translate Net::HTTPUnauthorized to Rets::AuthorizationFailure

It's possible that a RETS server returns HTTPUnauthorized without www-authenticate challenge even though normally it requires digest auth. I see this happen with HAR and NTREIS.