With request it looks like you can get the response and headers as soon as they arrive by passing a function to onResponse in the request options.
https://gist.github.com/1789436 Maybe that would work? The only other way would be to go with determining the content type by the file extension. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
