senchalabs/connect — pull request #896 by conradkleinespel (2013-09-15 03:02:57+00:00)
Title: Allow middleware after response has been sent

For doing post-response processing, this seems useful.

If not merged, would you have an idea on how to better solve this? Seems like it's actually an issue noted in the commit that added the check for sent headers: https://github.com/senchalabs/connect/commit/91edd0bac49a4ace1c9ad373c13617a2aaad2772