# File lib/em-http/middleware/digest_auth.rb, line 32 def response(resp) # If the server responds with the Authentication-Info header, set the nonce to the new value if @is_digest_auth && (authentication_info = resp.response_header['Authentication-Info']) authentication_info =~ /nextnonce="?(.*?)"?(,|\z)/ @digest_params[:nonce] = $1 end end