browserify / browserify/http-browserify
callback function is not called as should
- 主要语言
- JavaScript
- 星标
- 245
- 派生
- 104
- PR 合并指标
- 30 天内没有已合并 PR
描述
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.
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先,在代码经过browserify时,沿着所示的请求流程跟踪HTTPDigest.prototype.request,包括http.request和_handleResponse。在浏览器中重现401摘要认证响应,并比较凭据弹窗前后的回调行为。完成标准是:无需额外执行凭据对话框操作,回调即可一致地被调用。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- authentication, web-dev
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100