aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test2062
diff options
context:
space:
mode:
authorPierre-Yves Bigourdan <pierre-yves.bigourdan@bbc.co.uk>2020-02-06 15:43:06 +0000
committerDaniel Stenberg <daniel@haxx.se>2020-02-07 22:46:21 +0100
commitfeba3f0549af546677ee2d924344234fd91b8f50 (patch)
tree0b9026d8a38a8b13980c9ccd8612b7322c1b0ee4 /tests/data/test2062
parent5ce7102ceae250e2d31b54aad2f33b3bc35f243a (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/test2062')
-rw-r--r--tests/data/test20622
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/data/test2062 b/tests/data/test2062
index d5ce6899f..f6d4aff24 100644
--- a/tests/data/test2062
+++ b/tests/data/test2062
@@ -75,7 +75,7 @@ Accept: */*
GET /2062 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
-Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/2062", response="2af735ec3508f4dff99248ffbbe9de9002bfd7cc770cfa2b026cb334042a54e3", algorithm="SHA-512-256"
+Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/2062", response="2af735ec3508f4dff99248ffbbe9de9002bfd7cc770cfa2b026cb334042a54e3", algorithm=SHA-512-256
User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3
Accept: */*