ConnectJS uses the res.on('header'... event to do some post processing on the response. I have searched far and wide in the NodeJS documentation, but cannot find this event mentioned anywhere. Can someone point me in the direction of some documentation for this?
header
event is not native for node.js. This event provided by connect
. Here is some documentation.