Learn from my Express.js HTTP status code blunder
Express.js, JavaScript, Node.js By Dave Ward. Posted November 9, 2011If you’re like me, HTTP status code 200 Object] unknown probably doesn’t ring any bells. Of course, that’s mainly because it doesn’t exist.
So, how did I end up with the screenshot above? I’ve been running with scissors again. It was one of the more popular web frameworks for Node.js that I cut myself with this time: Express.js
Unfortunately, a malformed status code like 200 Object] will cause some browsers (including the version of Chrome I was using at the time) to refuse loading the page at all. That quickly elevated the importance of my strange status code from a trivial oddity to an annoying thorn in the side.
As it turns out, my code was running up against a documented Express feature and the remedy was simple enough.

![Screenshot of the 200 Object] HTTP status code in Firebug](http://encosia.com/blog/wp-content/uploads/2011/11/broken-status-sm.png)

A reader contacted me this weekend to inform me that 
