阅读背景:

节点尝试发送标头但以前的响应似乎仍然打开

来源:互联网 

I have the following code:

我有以下代码:

app.get('/pull-requests', function (request) {
  fetchRepos(fetchPullRequests);
  app.on('pull-requests:fetched', function (pullRequestsByRepo) {
    var html = "";

    _.each(pullRequestsByRepo, function (pullRequests) {
      html += 'There is <strong>'+ pullRequests.length +'</strong> pending pull request(s) for <strong>'+ pullRequests[0].title +'</strong>:';
      html += '<ul>';
      _.each(pullRequests, function (pullRequest) {
        html += '<li><em>'+ pullRequest.title +'</em> (<a href="/go.html?url='+ pullRequest.url +'">'+ pullRequest.url +'</a>)</li>';
      });
      html += '</ul>';
    });

    response.send(html);
  });
});
app.get(



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: