1
0
Fork 0
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:
John Nunemaker 2013-04-10 06:34:03 -07:00
commit e983f0c448
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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