I am currently making an application in Node.js, with the Express web server plug-in. I want to count the total data sent by the web server. To do this, I need to get the 'Content-Length' field of an outgoing HTTP header. However, I need to do this right after the data is added.
If I need to alter core Express scripts, can somebody tell me which file this is contained in?