HBOCodeLabs/node-XMLHttpRequest — pull request #1 by zbirkenbuel (2014-06-13 00:04:36+00:00)
Title: Fix: Cannot read property 'headers' of undefined

Occasionally, you will get "Cannot read property 'headers' of undefined" when trying to request a header. It's randomly crashing my daemon - I assume when I get a null response from a server.

This does a couple of extra checks.