diff options
author | Pierre-Yves Bigourdan <pierre-yves.bigourdan@bbc.co.uk> | 2020-02-06 15:43:06 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-02-07 22:46:21 +0100 |
commit | feba3f0549af546677ee2d924344234fd91b8f50 (patch) | |
tree | 0b9026d8a38a8b13980c9ccd8612b7322c1b0ee4 /tests/data/test153 | |
parent | 5ce7102ceae250e2d31b54aad2f33b3bc35f243a (diff) |
digest: Do not quote algorithm in HTTP authorisation
RFC 7616 section 3.4 (The Authorization Header Field) states that "For
historical reasons, a sender MUST NOT generate the quoted string syntax
for the following parameters: algorithm, qop, and nc". This removes the
quoting for the algorithm parameter.
Reviewed-by: Steve Holme
Closes #4890
Diffstat (limited to 'tests/data/test153')
-rw-r--r-- | tests/data/test153 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/data/test153 b/tests/data/test153 index 77f7adb01..1f55f39b6 100644 --- a/tests/data/test153 +++ b/tests/data/test153 @@ -115,7 +115,7 @@ Accept: */* GET /1530002 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
-Authorization: Digest username="testuser", realm="testrealm", nonce="999999", uri="/1530002", cnonce="MTA4MzIy", nc="00000001", qop="auth", response="25291c357671604a16c0242f56721c07", algorithm="MD5"
+Authorization: Digest username="testuser", realm="testrealm", nonce="999999", uri="/1530002", cnonce="MTA4MzIy", nc="00000001", qop="auth", response="25291c357671604a16c0242f56721c07", algorithm=MD5
User-Agent: curl/7.11.0-CVS (i686-pc-linux-gnu) libcurl/7.11.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS
Accept: */*
|