mirror of
https://github.com/aler9/gortsplib
synced 2025-10-08 16:40:09 +08:00
support authenticating with SHA-256 digest (#524)
This commit is contained in:
@@ -27,11 +27,15 @@ func TestAuth(t *testing.T) {
|
||||
[]headers.AuthMethod{headers.AuthBasic},
|
||||
},
|
||||
{
|
||||
"digest",
|
||||
[]headers.AuthMethod{headers.AuthDigest},
|
||||
"digest md5",
|
||||
[]headers.AuthMethod{headers.AuthDigestMD5},
|
||||
},
|
||||
{
|
||||
"both",
|
||||
"digest sha256",
|
||||
[]headers.AuthMethod{headers.AuthDigestSHA256},
|
||||
},
|
||||
{
|
||||
"all",
|
||||
nil,
|
||||
},
|
||||
} {
|
||||
|
Reference in New Issue
Block a user