From 11880105aa133945c1cf00300ded57de37acac52 Mon Sep 17 00:00:00 2001 From: Matthew Date: Fri, 31 Jul 2020 13:22:03 +0430 Subject: [PATCH] add CURLAUTH_ANY for default vaule of auth type --- src/Transport/Http.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Transport/Http.php b/src/Transport/Http.php index 97e6a10d4e..3edd04ecd8 100644 --- a/src/Transport/Http.php +++ b/src/Transport/Http.php @@ -236,8 +236,10 @@ protected function _getAuthType() return CURLAUTH_NTLM; break; case "basic": - default: return CURLAUTH_BASIC; + break; + default: + return CURLAUTH_ANY; } } }