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/test2069 | |
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/test2069')
-rw-r--r-- | tests/data/test2069 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/data/test2069 b/tests/data/test2069 index e8040a5e0..99fd71d0e 100644 --- a/tests/data/test2069 +++ b/tests/data/test2069 @@ -78,7 +78,7 @@ Content-Type: application/x-www-form-urlencoded POST /2069 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
-Authorization: Digest username="fddc3bc7b753b73ab0848fd83cb20cbbca971258eb8d20c941dd5e0b010d66be", realm="testrealm", nonce="1053604144", uri="/2069", response="ff13d977110a471f30de75e747976e4de78d7a3d2425cd23ff46e67f4bc9ead7", algorithm="SHA-512-256", userhash=true
+Authorization: Digest username="fddc3bc7b753b73ab0848fd83cb20cbbca971258eb8d20c941dd5e0b010d66be", realm="testrealm", nonce="1053604144", uri="/2069", response="ff13d977110a471f30de75e747976e4de78d7a3d2425cd23ff46e67f4bc9ead7", algorithm=SHA-512-256, userhash=true
Accept: */*
Content-Length: 11
Content-Type: application/x-www-form-urlencoded
|