antage/eventsource — pull request #11 by stuartnelson3 (2014-06-23 14:07:20+00:00)
Title: use \r\n as CRLF, not just \n

Heroku recently updated to a stricter router. Because of this, using `\n` as a terminator is no longer sufficient. Following RFC2616 and using `\r\n` fixes the problem.

http://stackoverflow.com/questions/5757290/http-header-line-break-style#answer-5757349