remy/wm

endpoint.js bug

stuartbreckenridge opened this issue · 1 comments

In endpoint.js if res.headers['content-type'] is undefined it will cause a crash using the command line tool.

if (!res.headers['content-type'].startsWith('text/')) {
      callback();
      return;
}
remy commented

Thanks - deploying that fix now.