mirror of
https://github.com/jnunemaker/httparty
synced 2023-03-27 23:23:07 -04:00
Merge pull request #196 from lupinglade/patch-1
Fixed nc value being quoted, this was against spec
This commit is contained in:
commit
e983f0c448
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ module Net
|
|||
fields = [
|
||||
%Q(cnonce="#{@cnonce}"),
|
||||
%Q(qop="#{@response['qop']}"),
|
||||
%Q(nc="00000001")
|
||||
%Q(nc=00000001)
|
||||
]
|
||||
fields.each { |field| header << field }
|
||||
end
|
||||
|
|
|
@ -66,7 +66,7 @@ describe Net::HTTPHeader::DigestAuthenticator do
|
|||
end
|
||||
|
||||
it "should set nonce-count" do
|
||||
authorization_header.should include(%Q(nc="00000001"))
|
||||
authorization_header.should include(%Q(nc=00000001))
|
||||
end
|
||||
|
||||
it "should set response" do
|
||||
|
|
Loading…
Add table
Reference in a new issue