cloudhead/node-static — pull request #80 by daxxog (2012-12-19 02:57:52+00:00)
Title: keep headers from being written twice

#61 is a valid issue, check out my tests:

https://github.com/daxxog/node-static-bug-writehead

However,
-------------
#61 checks a flag set on the request, which allows for improper application design.
My fix checks and sets a flag on the node-static server object itself. This fixes the underlying problem instead of possibly creating another one down the road.