In httr, I could specify the authentication type with the type
argument to authenticate
.
authenticate(user, password, type = "basic")
type
type of HTTP authentication. Should be one of the following types supported by Curl: basic, digest, digest_ie, gssnegotiate, ntlm, any. It defaults to "basic", the most common type.
How do I specify the type in httr2
? I need to specify "ntlm", but there is no type
argument to httr2::request
, and there is a req_auth_basic()
function, but no req_auth_ntlm
.