Skip to content

Commit

Permalink
add CURLAUTH_ANY for default vaule of auth type
Browse files Browse the repository at this point in the history
  • Loading branch information
daalvand committed Jul 31, 2020
1 parent ada0cc4 commit 1188010
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Transport/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,10 @@ protected function _getAuthType()
return CURLAUTH_NTLM;
break;
case "basic":
default:
return CURLAUTH_BASIC;
break;
default:
return CURLAUTH_ANY;
}
}
}

0 comments on commit 1188010

Please sign in to comment.