jnunemaker/httparty — pull request #142 by wok (2012-05-24 12:42:56+00:00)
Title: Set nonce-count correctly when using digest authentication

RFC 2617 http://tools.ietf.org/html/rfc2617#page-12 specifies that the value of `nc` (nonce-count) should be a counter that starts at '00000001'.

The currently implementation was using the value '0' which resulted in access denied status. When setting the value to '00000001' the request was processed normally.