We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2584140 commit e1dd5d8Copy full SHA for e1dd5d8
src/RequestSender.js
@@ -77,7 +77,7 @@ RequestSender.prototype = {
77
* Authentication
78
* Authenticate once. _challenged_ flag used to avoid infinite authentications.
79
*/
80
- if ((status_code === 401 || status_code === 407) && this.ua.configuration.authorization_user && this.ua.configuration.password !== null) {
+ if ((status_code === 401 || status_code === 407) && this.ua.configuration.password !== null) {
81
82
// Get and parse the appropriate WWW-Authenticate or Proxy-Authenticate header.
83
if (response.status_code === 401) {
0 commit comments