robrighter / node-boilerplate

Everything you need to get started on a Node.js website with express and socket.IO
1.06k stars 161 forks source link

A suggestion to force node to output the correct HTTP status code for 404 pages #2

Closed wdavidw closed 12 years ago

wdavidw commented 13 years ago

Node, this could also be applied to the 500 related lines just below.

robrighter commented 13 years ago

I applied the 404 change. I will get the 500 in there too shortly.... unless you want to do a pull request for that as well.

Thanks! Rob

robrighter commented 12 years ago

Version 2 now sends the correct response code