Closed tdtran closed 9 years ago
Some RETS servers return success code in XML body but failure code 4xx in http status. We already have a workaround for it in Client::ErrorChecker#check
Client::ErrorChecker#check
https://github.com/estately/rets/blob/master/lib/rets/client.rb#L356
But we forgot to use it in Client#login method. This PR rectifies it.
Client#login
I assume you grepped the codebase to see if we do this anywhere else silly?
I did grep for status_code. Seems ok now.
status_code
Some RETS servers return success code in XML body but failure code 4xx in http status. We already have a workaround for it in
Client::ErrorChecker#check
https://github.com/estately/rets/blob/master/lib/rets/client.rb#L356
But we forgot to use it in
Client#login
method. This PR rectifies it.