vendor/bundle/ruby/2.1.0/gems/httpauth-0.2.1/lib/httpauth/digest.rb
# Calculate the H(A2) for the Authorize header as explained in the RFC.
Calculate the H(A2) for the Authorize header as explained in the RFC.
Calculate the H ( A2 ) for the Authorize header as explained in the RFC .
def request_digest_a2(h)
          if h[:qop] == 'auth-int'
            digest_h digest_concat(h[:method], h[:uri], digest_h(h[:request_body]))
          else
            digest_h digest_concat(h[:method], h[:uri])
          end
        end
def request_digest_a2 ( h ) if h [ :qop ] == 'auth-int' digest_h digest_concat ( h [ :method ] , h [ :uri ] , digest_h ( h [ :request_body ] ) ) else digest_h digest_concat ( h [ :method ] , h [ :uri ] ) end end
Calculate the H(A2) for the Authorize header as explained in the RFC.
Calculate the H ( A2 ) for the Authorize header as explained in the RFC .
# TODO: check for known qop values (look out for the safari qop quote bug)
h