Files
cpp-httplib/test
yhirose c76e1b6a98 Accept several spaces after the auth scheme
RFC 9110 allows 1*SP between the auth scheme and what follows it in both
challenges and credentials. parse_www_authenticate() took the scheme up
to the last whitespace before "=", so "Digest  realm=..." was not
recognized as Digest and the 401 was returned without a retry, and
get_bearer_token_auth() returned the token of "Bearer  abc" with a
leading space.

The scheme is now the text up to the first whitespace, with the key
after it trimmed, and get_bearer_token_auth() skips the extra spaces.
2026-11-28 20:47:13 -05:00
..
2021-09-11 14:26:48 -04:00
2021-09-11 14:26:48 -04:00
2017-12-29 22:34:59 -05:00
2013-07-04 18:18:52 -04:00
2024-11-16 11:14:13 -05:00