Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

callback function is not called as should #48

Open
ekelvin opened this issue Mar 31, 2014 · 0 comments
Open

callback function is not called as should #48

ekelvin opened this issue Mar 31, 2014 · 0 comments

Comments

@ekelvin
Copy link

ekelvin commented Mar 31, 2014

Server is a digest auth node.

HTTPDigest.prototype.request = function (data, options, callback) {
    var self = this;
    http.request(options, function (res) {
      self._handleResponse(data, options, res, callback);
    }).end();
  };

if I do this in node I receive a 401 with nonce in order than to make the second request (the real one)
when browserified the a popup for the credentials is poped and the the function is not called but only after you click ok or cancel button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant