How can we test authentication using a digest as described here using curl?
I can test Simple Basic by setting the Authorization header to Basic {SECRET} , where SECRET is Base64::encode64("username:password") , as described here
I tried to send an Authentication header with the same value, but getting NoMethodError (undefined method 'unpack' for nil:NilClass) on a line calling authenticate_or_request_with_http_digest
Can someone explain what I'm doing wrong here?
source share