I am trying to serve some JavaScript files with Node.js and for whatever reason the files are being cut off in the middle of the transmission. The code:
http
have you tried to use built-in HTTPS server? http://nodejs.org/docs/v0.4.11/api/https.html