marcwan/NodeLiveLessons — pull request #1 by darksniper87 (2014-03-23 21:53:54+00:00)
Title: Update server.js

Because "res.writeHead(200, { "Content-Type": ct });" is always executes, it will make the server crash on an error event since the "res.writeHead()" can only be executed once on a res object. I'm not sure if there is a better solution than this.