xenph/foaas — pull request #25 by petedmarsh (2013-08-01 21:34:38+00:00)
Title: Add xml response type

This introduces a XML as a new response type. I adapted an XML escaper from here: https://gist.github.com/atesgoral/156752 as I don't think `sanitizer` will escape XML. I'm not that familiar with node so I'm not sure if where I put the `escapeXML` method is the correct place (`./lib/helpers.coffee`).

I wrote this mainly to play around with node and see if I could add a new feature, I'm not convinced XML support is a long sought after feature! :)