Latest commit eeab04a
Mar 25, 2013
The example did not work out of the box. I traced the problem to the 'end' event listener attached to request. I guess older versions of node.js required this but as of 0.10.0 (probably earlier), the `createServer` callback isn't called until `request` has already completed. Therefore, there is no need for the 'end' event listener anymore. Also, I removed some unnecessary parentheses.