rails/activeresource — pull request #84 by gmoore (2013-07-13 02:02:50+00:00)
Title: Only send opaque auth attribute if the server sent it with the challenge

Apache's mod_digest will not accept a client response that includes opaque unless the server also includes opaque. By default, mod_digest does not send opaque which means ActiveResource doesn't work with mod_digest out of the box.

This change modifies auth_attributes_for to only include opaque if it was not blank.